also cleanup socket files

This commit is contained in:
Remi Collet 2021-02-15 07:17:40 +01:00
parent 3cd5970076
commit 68055f20f9

View file

@ -29,7 +29,7 @@ class gnupgt {
return;
}
foreach (glob($homeDir . '/*') as $filename) {
if (is_file($filename)) {
if (!is_dir($filename)) {
unlink($filename);
}
}