diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-10-15 10:21:16 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-10-15 10:21:16 +0200 |
commit | d7d5ba1e6aa10a6cae3ba956a00caecdc1452cbc (patch) | |
tree | 5a6451a3fbac0d70ac395da0f780bd62d5d8799d | |
parent | d562390407eec6ecc83a9f19635258fbe83b6695 (diff) | |
download | laminar-cnf-d7d5ba1e6aa10a6cae3ba956a00caecdc1452cbc.tar.gz laminar-cnf-d7d5ba1e6aa10a6cae3ba956a00caecdc1452cbc.tar.bz2 laminar-cnf-d7d5ba1e6aa10a6cae3ba956a00caecdc1452cbc.zip |
alpine: fix locking
-rwxr-xr-x | templates/alpine.run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/alpine.run b/templates/alpine.run index 0e11b12..a8be860 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -4,9 +4,9 @@ # Lock for execution if [ "$1" != "--locked" ]; then - flock --exclusive "$WORKSPACE/root.lock" "$0" "$@" --locked - exit + exec flock --exclusive "$WORKSPACE/root.lock" "$0" --locked "$@" fi +shift # Shift --locked if [ -n "$CLEAN_ROOT" ]; then echo_stage "Remove root" |