diff options
author | David Smith <dsmith@redhat.com> | 2009-12-07 15:12:46 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-12-07 15:12:46 -0600 |
commit | 9983df163a0b1743de5777f940b9d6a827142476 (patch) | |
tree | e963f291baddb70230236605ea7b912b327d03b6 /testsuite/lib/systemtap.exp | |
parent | f669d095ba7fe5a623b31abc05b4f6664059803b (diff) | |
download | systemtap-steved-9983df163a0b1743de5777f940b9d6a827142476.tar.gz systemtap-steved-9983df163a0b1743de5777f940b9d6a827142476.tar.xz systemtap-steved-9983df163a0b1743de5777f940b9d6a827142476.zip |
Small compile server shutdown fix.
* testsuite/lib/systemtap.exp (shutdown_server): Only remove the temporary
stap script if it exists.
Diffstat (limited to 'testsuite/lib/systemtap.exp')
-rw-r--r-- | testsuite/lib/systemtap.exp | 4 |
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 {} { |