Skip to content
Snippets Groups Projects
Commit 1c2b7112 authored by Simon McVittie's avatar Simon McVittie
Browse files

SLR: exec entry point instead of running it as a subprocess


This saves us a process, and more directly, it means that there's one
fewer process that will not terminate its descendants when killed.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 8c9eb9a2
No related branches found
No related tags found
1 merge request!681SLR: exec entry point instead of running it as a subprocess
Pipeline #81042 passed
......@@ -304,7 +304,7 @@ main () {
fi
if [ "$#" -gt 0 ]; then
"$entry_point" -- "$@"
exec "$entry_point" -- "$@"
else
echo "$entry_point"
return 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment