diff --git a/utils.inc.php b/utils.inc.php index f2f477d..3138fe3 100644 --- a/utils.inc.php +++ b/utils.inc.php @@ -204,7 +204,7 @@ function createUnixUserWithQuota($user, $quota) function removeUnixUser($user) { - exec('deluser --remove-home ' . $user, $output); + exec('sleep 2s && deluser --remove-home ' . $user, $output); // TODO : handle errors return; }