mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Only remove pid file if started as daemon
This commit is contained in:
parent
4acc9effb8
commit
303dc4d312
1 changed files with 1 additions and 1 deletions
|
@ -161,5 +161,5 @@ finally:
|
|||
server.shutdown()
|
||||
|
||||
# remove pidfile
|
||||
if options.pid:
|
||||
if options.pid and options.daemon:
|
||||
os.unlink(options.pid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue