diff --git a/deluge/core/daemon_entry.py b/deluge/core/daemon_entry.py index c49fd2a355..837ea53b11 100644 --- a/deluge/core/daemon_entry.py +++ b/deluge/core/daemon_entry.py @@ -132,8 +132,6 @@ def run_daemon(options): sys.exit(1) finally: log.info('Exiting...') - if options.pidfile: - os.remove(options.pidfile) return run_profiled( run_daemon, options, output_file=options.profile, do_profile=options.profile