diff --git a/app/Commands/LetsEncryptRemoveCommand.php b/app/Commands/LetsEncryptRemoveCommand.php index b98e6d9..1347a83 100644 --- a/app/Commands/LetsEncryptRemoveCommand.php +++ b/app/Commands/LetsEncryptRemoveCommand.php @@ -55,7 +55,7 @@ class LetsEncryptRemoveCommand extends Command if (!file_exists($directory)) { $errors++; } else { - rmdir($directory); + exec('rm -rf '.$directory.' 2&>1', $output); } }