Skip to content

Commit

Permalink
turnon quota
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Sep 15, 2024
1 parent 4cae613 commit fc4ba97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def installQuota(self,):

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)

Expand Down

0 comments on commit fc4ba97

Please sign in to comment.