Skip to content

Commit 2339a9e

Browse files
author
gau1991
committed
Fixed ee stack status
1 parent 9b94827 commit 2339a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ee/core/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def get_service_status(self, service_name):
118118
try:
119119
is_exist = subprocess.getstatusoutput('which {0}'
120120
.format(service_name))
121-
if is_exist == 0:
121+
if is_exist[0] == 0:
122122
retcode = subprocess.getstatusoutput('service {0} status'
123123
.format(service_name))
124124
if retcode[0] == 0:

0 commit comments

Comments
 (0)