From e41af69c5ad53d013a1d45b96e64140b25853aaa Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 20 Jun 2007 19:39:31 +0000 Subject: * fixed bug in used-count handling for exports that caused the image to be deleted no matter how many block devices used it * beautified list of exported vendor-OSes (slxos-export list-ex) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1183 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSExport/FileSystem/SquashFS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installer/OpenSLX') diff --git a/installer/OpenSLX/OSExport/FileSystem/SquashFS.pm b/installer/OpenSLX/OSExport/FileSystem/SquashFS.pm index 65761aa2..48efb45b 100644 --- a/installer/OpenSLX/OSExport/FileSystem/SquashFS.pm +++ b/installer/OpenSLX/OSExport/FileSystem/SquashFS.pm @@ -332,7 +332,7 @@ sub _removeBlockDeviceTagFromExport # now find out whether or not there are any other tags left: my $vendorOSName = basename($target); opendir(DIR, dirname($target)); - my @tags = grep { /^vendorOSName\@/ } readdir(DIR); + my @tags = grep { /^$vendorOSName\@/ } readdir(DIR); return @tags ? 0 : 1; # return 1 if no more tags (i.e. it is safe to remove the image) } -- cgit v1.2.3-55-g7522