From 59f94de22a06a1fc8f0ebc08839feff2f706aab7 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 14 Oct 2010 20:17:00 +0000 Subject: [PATCH] force granularity-only when any granularity is specified git-svn-id: svn://svn.open-ils.org/ILS/trunk@18349 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/action_trigger_runner.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/src/support-scripts/action_trigger_runner.pl b/Open-ILS/src/support-scripts/action_trigger_runner.pl index 59e981a77f..0225518315 100755 --- a/Open-ILS/src/support-scripts/action_trigger_runner.pl +++ b/Open-ILS/src/support-scripts/action_trigger_runner.pl @@ -58,6 +58,9 @@ GetOptions( my $max_sleep = $opt_max_sleep; +#XXX need to figure out why this is required... +$opt_gran_only = $opt_granularity ? 1 : 0; + $opt_lockfile .= '.' . $opt_granularity if ($opt_granularity && $opt_gran_only); # typical passive hook filters -- 2.11.0