Only try to kill gnome-panel if it's running
This avoids crashing if it's not.
This commit is contained in:
parent
54a9b5ae4e
commit
629c35bd2a
@ -223,6 +223,7 @@ try:
|
||||
shell = start_xephyr()
|
||||
start_shell()
|
||||
else:
|
||||
if gnome_panel_pid is not None:
|
||||
kill_gnome_panel(gnome_panel_pid)
|
||||
shell = start_shell()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user