force granularity-only when any granularity is specified
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Oct 2010 20:17:00 +0000 (20:17 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Oct 2010 20:17:00 +0000 (20:17 +0000)
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

index 59e981a..0225518 100755 (executable)
@@ -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