Commit a2218fd7 authored by Robert Ricci's avatar Robert Ricci
Browse files

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";
if ($debug) {
print "Exited with $CHILD_ERROR\n";
exit($CHILD_ERROR >> 8);
Supports Markdown
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