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

Use saved exit status correctly


Previously, we'd have exited 0, assuming the echo command succeeded.
Thanks, shellcheck!

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 6442ee07
No related branches found
No related tags found
No related merge requests found
...@@ -351,5 +351,5 @@ if [ -n "$verbose" ]; then ...@@ -351,5 +351,5 @@ if [ -n "$verbose" ]; then
fi fi
exec "$BWRAP" $bwrap_end_of_options "$@" || e=$? exec "$BWRAP" $bwrap_end_of_options "$@" || e=$?
echo "$me: failed to execute '$BWRAP $*': exec status $?" >&2 echo "$me: failed to execute '$BWRAP $*': exec status $e" >&2
exit $? exit "$e"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment