diff --git a/jlmkr.py b/jlmkr.py index 3d842a9..707457e 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -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: