mirror of
https://github.com/gryf/wicd.git
synced 2026-04-17 11:13:34 +02:00
Make gui.error() calls optionally not block.
Make the lost dbus error message translatable.
This commit is contained in:
@@ -1571,7 +1571,10 @@ def sigterm_caught(sig=None, frame=None):
|
||||
global child_pid
|
||||
if child_pid:
|
||||
print 'Daemon going down, killing wicd-monitor...'
|
||||
os.kill(child_pid, signal.SIGTERM)
|
||||
try:
|
||||
os.kill(child_pid, signal.SIGTERM)
|
||||
except OSError:
|
||||
pass
|
||||
print 'Removing PID file...'
|
||||
if os.path.exists(wpath.pidfile):
|
||||
os.remove(wpath.pidfile)
|
||||
|
||||
Reference in New Issue
Block a user