From: miker Date: Thu, 14 Oct 2010 20:17:00 +0000 (+0000) Subject: force granularity-only when any granularity is specified X-Git-Tag: kcls-grey-screen-prod1~592 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=59f94de22a06a1fc8f0ebc08839feff2f706aab7;p=evergreen%2Fequinox.git force granularity-only when any granularity is specified git-svn-id: svn://svn.open-ils.org/ILS/trunk@18349 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 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