scripts / lock-wrapper: actually pass script arguments as well to the script

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-01-13 18:03:04 +00:00 committed by Pierre-Yves Chibon
parent 377f35d194
commit 09bbcdb68a

View file

@ -44,5 +44,5 @@ trap cleanup EXIT SIGQUIT SIGHUP SIGTERM
echo $$ > "$PIDFILE"
$RESTORE_UMASK
eval "$SCRIPT"
eval "$SCRIPT $*"