From 53f960b8db04cc331805262093236e895f620d02 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 11 Oct 2010 14:01:45 +0000 Subject: [PATCH] wait to run-pending if a specific granularity used git-svn-id: svn://svn.open-ils.org/ILS/trunk@18256 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/action_trigger_runner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/action_trigger_runner.pl b/Open-ILS/src/support-scripts/action_trigger_runner.pl index eaddd45fb1..59e981a77f 100755 --- a/Open-ILS/src/support-scripts/action_trigger_runner.pl +++ b/Open-ILS/src/support-scripts/action_trigger_runner.pl @@ -211,7 +211,7 @@ help() and exit unless ($opt_run_pending or $opt_process_hooks); # check the lockfile if (-e $opt_lockfile) { - die "I'm already running with lockfile $opt_lockfile\n" if (!$opt_process_hooks); + die "I'm already running with lockfile $opt_lockfile\n" unless ($opt_process_hooks or $opt_granularity); # sleeping loop if we're in --process-hooks mode while ($max_sleep >= 0 && sleep(1)) { last unless ( -e $opt_lockfile ); -- 2.11.0