perf-tool: Remove dead code
This commit is contained in:
parent
93c5e6d97e
commit
eaff1e9290
@ -107,8 +107,6 @@ def run_shell(perf_output=None):
|
||||
def restore_shell():
|
||||
pid = os.fork()
|
||||
if (pid == 0):
|
||||
if "MUTTER_WM_CLASS_FILTER" in os.environ:
|
||||
del os.environ["MUTTER_WM_CLASS_FILTER"]
|
||||
os.execlp("gnome-shell", "gnome-shell", "--replace")
|
||||
else:
|
||||
sys.exit(0)
|
||||
|
Loading…
Reference in New Issue
Block a user