[open-ils-commits] r14711 - trunk/Open-ILS/src/support-scripts (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 1 20:54:50 EST 2009
Author: erickson
Date: 2009-11-01 20:54:49 -0500 (Sun, 01 Nov 2009)
New Revision: 14711
Modified:
trunk/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: trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-11-02 01:49:06 UTC (rev 14710)
+++ trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl 2009-11-02 01:54:49 UTC (rev 14711)
@@ -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