LP#1745001 - action_trigger_runner.pl max-sleep argument broken.
authorJosh Stompro <stomproj@larl.org>
Tue, 23 Jan 2018 19:19:20 +0000 (13:19 -0600)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 30 Apr 2018 14:14:59 +0000 (10:14 -0400)
commit0e5e654c31c3cd781c860add3b670eae7ab194cc
treec8f8d9dd622552355601712df405185bd6ef4bde
parentb9a637829cf5c4690e6a5ab7cc149d4d11e72897
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>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/support-scripts/action_trigger_runner.pl.in