summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/lib/systemtap.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp
index f16facc2..13e6d1a2 100644
--- a/testsuite/lib/systemtap.exp
+++ b/testsuite/lib/systemtap.exp
@@ -175,7 +175,9 @@ proc shutdown_server {} {
}
# Remove the temporary stap script
- exec /bin/rm -fr $net_path
+ if [file exists $net_path] {
+ exec /bin/rm -fr $net_path
+ }
}
proc get_system_info {} {