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

_v2-entry-point: Inline exec_container into its only caller

parent d5932cb3
Branches
Tags
1 merge request!53Remove "session mode"
Pipeline #15760 passed with warnings
This commit is part of merge request !53. Comments created here will be created in the context of that merge request.
......@@ -277,16 +277,11 @@ else
run="run-in-${suite}"
fi
exec_container () {
# Run as a single command
exec "${here}/${run}" \
${container_args[0]+"${container_args[@]}"} \
-- \
"$@" \
${NULL+}
exit 125
}
exec_container "$@"
exec "${here}/${run}" \
${container_args[0]+"${container_args[@]}"} \
-- \
"$@" \
${NULL+}
exit 125
# vim:set sw=4 sts=4 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment