replace networkmanager comand with systemctl for Suse

This commit is contained in:
2025-07-09 11:45:16 +02:00
parent 5986ce3b48
commit 9873a293f7

View File

@ -233,7 +233,7 @@ class Detector:
elif os_system == "SUSE Tumbleweed" or os_system == "SUSE Leap": elif os_system == "SUSE Tumbleweed" or os_system == "SUSE Leap":
result = subprocess.run( result = subprocess.run(
["zypper search --installed-only | grep NetworkManager"], ["systemctl status NetworkManager"],
capture_output=True, capture_output=True,
shell=True, shell=True,
text=True, text=True,