We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dae1191 commit acbaf1dCopy full SHA for acbaf1d
1 file changed
wavefront_cli/lib/system.py
@@ -68,8 +68,7 @@ def remove_service(service_name):
68
cmd = None
69
dist = check_os()
70
print("Detected ", dist)
71
- if dist.startswith("Amazon Linux") or\
72
- dist.startswith("Rocky Linux") or\
+ if dist.startswith(("Amazon Linux", "Rocky Linux")) or\
73
dist == "Red Hat Enterprise Linux Server":
74
cmd = "yum -y remove " + service_name
75
elif dist == "Ubuntu":
0 commit comments