[open-ils-commits] r14713 - branches/rel_1_6_0/Open-ILS/src/support-scripts (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 1 20:55:21 EST 2009
Author: erickson
Date: 2009-11-01 20:55:19 -0500 (Sun, 01 Nov 2009)
New Revision: 14713
Modified:
branches/rel_1_6_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: branches/rel_1_6_0/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-11-02 01:55:12 UTC (rev 14712)
+++ branches/rel_1_6_0/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-11-02 01:55:19 UTC (rev 14713)
@@ -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