2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

Added a warning message

This commit is contained in:
Mark Gurevich 2017-03-13 10:06:40 -04:00
parent 6a2164b6cb
commit 9763c34e75

View File

@ -1785,7 +1785,10 @@ sub rmvm {
next;
}
my $file = $disk->getAttribute("file");
unless ($file) { next; }
unless ($file) {
xCAT::MsgUtils->trace(0, "w", "Not able to find 'file' attribute value for: $disk");
next;
}
# try to check the existence first, if cannot find, do nothing.
# we do retry because we found sometimes the delete might fail