exit with help if the script is not told to process any hooks or run pending events
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Nov 2009 01:54:49 +0000 (01:54 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Nov 2009 01:54:49 +0000 (01:54 +0000)
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

index 87c4377..3b5ac62 100755 (executable)
@@ -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;