andre hai 7 meses
pai
achega
b7acd19145
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/QuotaController.php

+ 1 - 1
controllers/QuotaController.php

@@ -14,7 +14,7 @@ class QuotaController {
 
         // get quota
         if ($GLOBALS['debug'] == true) {error_log("Get Quota for User: " . $username); }
-        exec("sudo /usr/bin/quota -p --hide-device -w $username | tail -n +3 | column -t -n quota -N blocks,soft,hard,grace,inodes,isoft,ihard,igrace -H 5  2>&1", $userOutput, $userReturnCode);
+        exec("sudo /usr/bin/quota -p --hide-device -w $username | tail -n +3 | column -t -n quota -N blocks,soft,hard,grace,inodes,isoft,ihard,igrace -H 5 -J 2>&1", $userOutput, $userReturnCode);
         if ($userReturnCode !== 0) {
             error_log("getquota: ERROR: Getting Quota for $username failed, details => " . implode("\n", $userOutput));
             http_response_code(500);