Avoid extra sh process from shell wrapper

`exec` from shell wrapper to avoid persistent sh process
This commit is contained in:
Angus Lees
2020-03-15 12:23:52 +11:00
committed by GitHub
parent d0dc19aa78
commit ea97549161

View File

@@ -110,7 +110,7 @@ create_wrapper () {
cat <<- EOF > "${file}"
#!/bin/sh
$@ "\$@"
exec $@ "\$@"
EOF
chmod +x "${file}"
}