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