diff --git a/pmb/config/init.py b/pmb/config/init.py index 5ab748f1..a4ef92e3 100644 --- a/pmb/config/init.py +++ b/pmb/config/init.py @@ -51,7 +51,9 @@ def require_programs() -> None: # Check if losetup supports the --json argument. Use the absolute path # here, so it works in Debian too without using sudo. try: - pmb.helpers.run.user([pmb.config.required_programs["losetup"], "--json"], check=True) + pmb.helpers.run.user( + [pmb.config.required_programs["losetup"], "--json"], check=True, output="null" + ) except RuntimeError: losetup_missing_json = True