diff --git a/system/service b/system/service index 97a970a9515..141b2ac418a 100644 --- a/system/service +++ b/system/service @@ -1008,7 +1008,7 @@ class SunOSService(Service): # enabled true # enabled false for line in stdout.split("\n"): - if line.find("enabled") == 0: + if line.startswith("enabled"): if "true" in line: enabled = True if "temporary" in line: