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

wrap-interactive: Print exit status before --shell=after

parent 0df703be
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,8 @@ pv_bwrap_wrap_interactive (FlatpakBwrap *wrapped_command,
case PV_SHELL_AFTER:
script =
"e=0\n"
"\"$@\" || e=$?\n";
"\"$@\" || e=$?\n"
"echo \"$prgname: command exit status $e\"\n";
break;
case PV_SHELL_FAIL:
......
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