summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-09-15 11:11:18 +0200
committerHarald Hoyer <harald@redhat.com>2009-09-15 15:00:24 +0200
commit82b2189d01e49374d4f69557b759151ebc85bcbc (patch)
treed81784460adf9b6332f9c00a85e729dccef6c0e5
parent4ce52970c05e7d724e6d2b5dd2b3ae9db3be6f40 (diff)
downloaddracut-82b2189d01e49374d4f69557b759151ebc85bcbc.tar.gz
dracut-82b2189d01e49374d4f69557b759151ebc85bcbc.tar.bz2
dracut-82b2189d01e49374d4f69557b759151ebc85bcbc.zip
initqueue-finished: fail also on empty queue
-rw-r--r--modules.d/99base/dracut-lib.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index cbe70cf0..e0ca8921 100644
--- a/modules.d/99base/dracut-lib.sh
+++ b/modules.d/99base/dracut-lib.sh
@@ -38,7 +38,7 @@ source_all() {
check_finished() {
local f
- for f in /initqueue-finished/*.sh; do [ -f "$f" ] && { ( . "$f" ) || return 1; } ; done
+ for f in /initqueue-finished/*.sh; do { [ -f "$f" ] && ( . "$f" ) ; } || return 1 ; done
return 0
}
@@ -115,8 +115,6 @@ incol2() {
}
udevsettle() {
- local exit_if_exists;
-
[ -z "$UDEVVERSION" ] && UDEVVERSION=$(udevadm --version)
if [ $UDEVVERSION -ge 143 ]; then