Skip to content

Commit acbaf1d

Browse files
committed
Address PR comment
1 parent dae1191 commit acbaf1d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

wavefront_cli/lib/system.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ def remove_service(service_name):
6868
cmd = None
6969
dist = check_os()
7070
print("Detected ", dist)
71-
if dist.startswith("Amazon Linux") or\
72-
dist.startswith("Rocky Linux") or\
71+
if dist.startswith(("Amazon Linux", "Rocky Linux")) or\
7372
dist == "Red Hat Enterprise Linux Server":
7473
cmd = "yum -y remove " + service_name
7574
elif dist == "Ubuntu":

0 commit comments

Comments
 (0)