added a warning message in 'disk.pm' that if some of the disk devices defined is not present in the system the initialization will be aborted

This commit is contained in:
Jordi Sanfeliu 2016-05-30 12:48:28 +02:00
parent 5d419494ca
commit fd953c2264
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ sub disk_init {
logger("$myself: ERROR: invalid or inexistent device name '$d'.");
if(lc($disk->{accept_invalid_disk}) ne "y") {
logger("$myself: 'accept_invalid_disk' option is not set.");
logger("$myself: WARNING: initialization aborted.");
return;
}
}