diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index b565e92..842b4d2 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -689,7 +689,7 @@ sub free_image { if (defined($format) && ($format eq 'subvol')) { File::Path::remove_tree($path); } else { - if (! -e $path) { + if (!(-f $path || -l $path)) { warn "disk image '$path' does not exists\n"; return undef; }