Commit 47ba3fb9 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change tbs_exec to return exit status of process to caller.

parent 21267375
...@@ -48,6 +48,9 @@ sub tbs_exec { ...@@ -48,6 +48,9 @@ sub tbs_exec {
while (<EXEC>) { while (<EXEC>) {
&tbs_out($_); &tbs_out($_);
} }
close(EXEC) or
return $! ? $! : $?;
return 0; return 0;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment