From 77c456ddaeced00c78612a2b5425aed280b15efd Mon Sep 17 00:00:00 2001 From: Gobinath Date: Fri, 28 Apr 2017 13:13:28 -0400 Subject: [PATCH] Fix standalone instance in Arch --- safeeyes/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safeeyes/__main__.py b/safeeyes/__main__.py index 33fd67d..8f8b4ee 100755 --- a/safeeyes/__main__.py +++ b/safeeyes/__main__.py @@ -211,7 +211,7 @@ def running(): else: # In older versions cmdline was a list object cmd_line = proc.cmdline - if 'python3' in cmd_line[0] and ('safeeyes' in cmd_line[1] or 'safeeyes' in cmd_line): + if ('python3' in cmd_line[0] or 'python' in cmd_line[0]) and ('safeeyes' in cmd_line[1] or 'safeeyes' in cmd_line): process_count += 1 if process_count > 1: return True