Commit c1cfb7f9 authored by Leigh B Stoller's avatar Leigh B Stoller

Remove workdir unless debug>1

parent 9c1d5b68
......@@ -236,7 +236,7 @@ if (system("$cmd")) {
cleanup:
# Clean up the directory.
if (! $debug) {
if ($debug <= 1) {
print STDOUT "Performing cleanup...\n";
system("$sudo /bin/rm -rf $workdir 2>/dev/null");
system("echo 'rm -Rf ~/.emulab' | ssh -o UserKnownHostsFile=/dev/null ".
......
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