From fd953c226459c4fc395eb9a491e5e745f616ab90 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Mon, 30 May 2016 12:48:28 +0200 Subject: [PATCH] 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 --- lib/disk.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/disk.pm b/lib/disk.pm index c1c34ae..75cdb1d 100644 --- a/lib/disk.pm +++ b/lib/disk.pm @@ -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; } }