LP#1745001 - action_trigger_runner.pl max-sleep argument broken. user/stompro/lp1745001_atr_max_sleep
authorJosh Stompro <stomproj@larl.org>
Tue, 23 Jan 2018 19:19:20 +0000 (13:19 -0600)
committerJosh Stompro <stomproj@larl.org>
Tue, 23 Jan 2018 19:19:20 +0000 (13:19 -0600)
commitd9889138050a65438a84da158a18631eddae4b5d
tree0d6f722c61ad5012d91f54bb69d6e4dba8b2fb67
parentd9a71de9fa7f139f219303667adec4c8fc9bc77a
LP#1745001 - action_trigger_runner.pl max-sleep argument broken.

Fix the --max-sleep argument so it accepts an integer number of max
seconds to sleep waiting for a lock file to disappear.

Testing:

Before Fix: Add --max-sleep=60 to action_trigger_runner.pl and view the
error message that results.

After Fix: Run the same command and notice that it no longer errors out.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Open-ILS/src/support-scripts/action_trigger_runner.pl.in