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}"
|
||||
#!/bin/sh
|
||||
$@ "\$@"
|
||||
exec $@ "\$@"
|
||||
EOF
|
||||
chmod +x "${file}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user