From: erickson Date: Mon, 2 Nov 2009 01:54:49 +0000 (+0000) Subject: exit with help if the script is not told to process any hooks or run pending events X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5cc56ab7c56ba270c51f3c754ba78fdf0cd25c96;p=evergreen%2Fmasslnc.git exit with help if the script is not told to process any hooks or run pending events git-svn-id: svn://svn.open-ils.org/ILS/trunk@14711 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/support-scripts/action_trigger_runner.pl b/Open-ILS/src/support-scripts/action_trigger_runner.pl index 87c437780f..3b5ac6219b 100755 --- a/Open-ILS/src/support-scripts/action_trigger_runner.pl +++ b/Open-ILS/src/support-scripts/action_trigger_runner.pl @@ -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;