[open-ils-commits] r18349 - trunk/Open-ILS/src/support-scripts (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 14 16:17:06 EDT 2010


Author: miker
Date: 2010-10-14 16:17:00 -0400 (Thu, 14 Oct 2010)
New Revision: 18349

Modified:
   trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl
Log:
force granularity-only when any granularity is specified

Modified: trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl	2010-10-14 20:07:32 UTC (rev 18348)
+++ trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl	2010-10-14 20:17:00 UTC (rev 18349)
@@ -58,6 +58,9 @@
 
 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



More information about the open-ils-commits mailing list