Commit a2218fd7 authored by Robert Ricci's avatar Robert Ricci

Just exec() the command, rather than calling it with system() - this

way, we don't have to worry about sshtb getting killed but its child
process hanging around.
parent e8cdfe70
......@@ -111,10 +111,4 @@ else {
if ($debug) {
print "$cmd\n";
}
system("$cmd");
if ($debug) {
print "Exited with $CHILD_ERROR\n";
}
exit($CHILD_ERROR >> 8);
exec("$cmd");
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