From 5cc56ab7c56ba270c51f3c754ba78fdf0cd25c96 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 2 Nov 2009 01:54:49 +0000 Subject: [PATCH] exit with help if the script is not told to process any hooks or run pending events git-svn-id: svn://svn.open-ils.org/ILS/trunk@14711 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/action_trigger_runner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/action_trigger_runner.pl b/Open-ILS/src/support-scripts/action_trigger_runner.pl index 87c437780f..3b5ac6219b 100755 --- a/Open-ILS/src/support-scripts/action_trigger_runner.pl +++ b/Open-ILS/src/support-scripts/action_trigger_runner.pl @@ -144,7 +144,7 @@ sub run_pending { } help() and exit if $opt_help; -help() and exit unless ($opt_run_pending or $opt_hooks); +help() and exit unless ($opt_run_pending or $opt_process_hooks); # check / set the lockfile die "I'm already running with lockfile $opt_lockfile\n" if -e $opt_lockfile; -- 2.11.0