diff options
Diffstat (limited to 'tests/negtelnetserver.py')
-rwxr-xr-x | tests/negtelnetserver.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/negtelnetserver.py b/tests/negtelnetserver.py index 207a6413a..3fbec2b10 100755 --- a/tests/negtelnetserver.py +++ b/tests/negtelnetserver.py @@ -364,5 +364,8 @@ if __name__ == '__main__': log.exception(e) rc = ScriptRC.EXCEPTION + if options.pidfile and os.path.isfile(options.pidfile): + os.unlink(options.pidfile) + log.info("Returning %d", rc) sys.exit(rc) |