[readonly/geninitrd/devel: 233/334] Display error and exit if raid data is not found when trying to find softraid modules.
draenog
draenog at pld-linux.org
Sat Nov 2 19:31:07 CET 2013
commit 88614cd1e7a05be3baac570f197088489c1605b1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Aug 30 18:53:01 2004 +0000
Display error and exit if raid data is not found when trying to find softraid modules.
svn-id: @4448
geninitrd | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index 9272f35..6c8f021 100755
--- a/geninitrd
+++ b/geninitrd
@@ -410,6 +410,9 @@ END {
echo "raid level $number (in $raidtab) not recognized" 1>&2
;;
esac
+ else
+ echo "ERROR: RAID devices not found for \"$1\", check your configuration!" 1>&2
+ exit 1
fi
rootdev_nr=$(( $rootdev_nr + 1 ))
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list