diff --git a/modules/systemupdate/systemupdate.py b/modules/systemupdate/systemupdate.py index d0b78f8..5a91883 100644 --- a/modules/systemupdate/systemupdate.py +++ b/modules/systemupdate/systemupdate.py @@ -7,9 +7,9 @@ class Systemupdate(AbstractModule): def run(self): print("Running update") - subprocess.run("apt update") - subprocess.run("apt upgrade") - subprocess.run("apt dist-upgrade") - subprocess.run("apt autoremove") - subprocess.run("apt autoclean") + subprocess.call("apt update") + subprocess.call("apt upgrade") + subprocess.call("apt dist-upgrade") + subprocess.call("apt autoremove") + subprocess.call("apt autoclean") print("All update processes finished, please check output for further details.")