mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-27 13:39:33 +00:00
Use exec in waitfile
This commit is contained in:
@@ -6,4 +6,4 @@
|
||||
echo "wait for file $1"
|
||||
while [ ! -e "$1" ]; do sleep 1; done;
|
||||
echo "file $1 appeared"
|
||||
"${@:2}"
|
||||
exec "${@:2}"
|
||||
|
||||
Reference in New Issue
Block a user