[open-ils-commits] r14712 - branches/rel_1_6/Open-ILS/src/support-scripts (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 1 20:55:13 EST 2009


Author: erickson
Date: 2009-11-01 20:55:12 -0500 (Sun, 01 Nov 2009)
New Revision: 14712

Modified:
   branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl
Log:
exit with help if the script is not told to process any hooks or run pending events

Modified: branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl	2009-11-02 01:54:49 UTC (rev 14711)
+++ branches/rel_1_6/Open-ILS/src/support-scripts/action_trigger_runner.pl	2009-11-02 01:55:12 UTC (rev 14712)
@@ -144,7 +144,7 @@
 }
 
 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;



More information about the open-ils-commits mailing list