[open-ils-commits] r14714 - tags/rel_1_6_0_0/Open-ILS/src/support-scripts (erickson)

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


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

Modified:
   tags/rel_1_6_0_0/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: tags/rel_1_6_0_0/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/src/support-scripts/action_trigger_runner.pl	2009-11-02 01:55:19 UTC (rev 14713)
+++ tags/rel_1_6_0_0/Open-ILS/src/support-scripts/action_trigger_runner.pl	2009-11-02 01:55:27 UTC (rev 14714)
@@ -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