Only delete Sieve directory if it really exists

pull/143/head
Tadas Ustinavičius 7 years ago
parent d986e26be8
commit 9ab2eaedc6

@ -174,7 +174,9 @@ if (is_array($dir)) {
}
if ($MAKE_CHANGES) {
deldir($path);
deldir($sieve_path);
if ($sieve_exists) {
deldir($sieve_path);
}
} else {
echo " - Would recursively delete : $path \n";
if ($sieve_exists) {

Loading…
Cancel
Save