initqueue-finished: fail also on empty queue

master
Harald Hoyer 2009-09-15 11:11:18 +02:00
parent 4ce52970c0
commit 82b2189d01
1 changed files with 1 additions and 3 deletions

View File

@ -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