mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
Only delete Sieve directory if it really exists
This commit is contained in:
parent
d986e26be8
commit
9ab2eaedc6
@ -174,7 +174,9 @@ if (is_array($dir)) {
|
||||
}
|
||||
if ($MAKE_CHANGES) {
|
||||
deldir($path);
|
||||
if ($sieve_exists) {
|
||||
deldir($sieve_path);
|
||||
}
|
||||
} else {
|
||||
echo " - Would recursively delete : $path \n";
|
||||
if ($sieve_exists) {
|
||||
|
Loading…
Reference in New Issue
Block a user