We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b94827 commit 2339a9eCopy full SHA for 2339a9e
ee/core/services.py
@@ -118,7 +118,7 @@ def get_service_status(self, service_name):
118
try:
119
is_exist = subprocess.getstatusoutput('which {0}'
120
.format(service_name))
121
- if is_exist == 0:
+ if is_exist[0] == 0:
122
retcode = subprocess.getstatusoutput('service {0} status'
123
124
if retcode[0] == 0:
0 commit comments