mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -223,7 +223,8 @@ try:
|
|||
shell = start_xephyr()
|
||||
start_shell()
|
||||
else:
|
||||
kill_gnome_panel(gnome_panel_pid)
|
||||
if gnome_panel_pid is not None:
|
||||
kill_gnome_panel(gnome_panel_pid)
|
||||
shell = start_shell()
|
||||
|
||||
# Wait for shell to exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue