Avoid extra sh process from shell wrapper
`exec` from shell wrapper to avoid persistent sh process
This commit is contained in:
@@ -110,7 +110,7 @@ create_wrapper () {
|
|||||||
|
|
||||||
cat <<- EOF > "${file}"
|
cat <<- EOF > "${file}"
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
$@ "\$@"
|
exec $@ "\$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x "${file}"
|
chmod +x "${file}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user