From 9983df163a0b1743de5777f940b9d6a827142476 Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 7 Dec 2009 15:12:46 -0600 Subject: Small compile server shutdown fix. * testsuite/lib/systemtap.exp (shutdown_server): Only remove the temporary stap script if it exists. --- testsuite/lib/systemtap.exp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuite/lib') 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 {} { -- cgit