From fc4ba970a3c542cfb28a261f146806059a2ee0fe Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 15 Sep 2024 15:49:07 +0500 Subject: [PATCH] turnon quota --- install/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.py b/install/install.py index 5804c06e6..df18bb809 100755 --- a/install/install.py +++ b/install/install.py @@ -165,7 +165,7 @@ class preFlightsChecks: command = "find /lib/modules/ -type f -name '*quota_v*.ko*'" - if subprocess.check_output(command).decode("utf-8").find("quota/") == -1: + if subprocess.check_output(command,shell=True, stderr=subprocess.STDOUT).decode("utf-8").find("quota/") == -1: command = "sudo apt install linux-image-extra-virtual -y" preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)