No os.system

This commit is contained in:
Jip-Hop 2023-02-28 22:01:46 +01:00
parent ecb656974d
commit 845b1b404c
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ def list_jails():
print(f"{jail}")
print("\nCurrently running:\n")
os.system(f"machinectl list")
subprocess.run(['machinectl', 'list'])
def main():
if os.stat(__file__).st_uid != 0: