Bug #1170: Log RM error with the right image source

This commit is contained in:
Carlos Martín committed 2012-03-16 15:56:56 +01:00
1 parent 2fe4daa875
commit 2b78758892
1 file changed
+4 -4
+4 -4
View File
@@ -292,11 +292,11 @@ error_mkfs:
goto error_common;
error_rm:
image->unlock();
os.str("");
os << "Error removing image from repository. Remove file " << source
<< " to completely delete image.";
os << "Error removing image from repository. Remove file " << image->get_source()
<< " to completely delete image.";
image->unlock();
getline(is,info);