From: Sebastian Pipping Date: Sun, 9 Jan 2011 18:10:47 +0000 (+0100) Subject: Break search loop asap X-Git-Tag: v3.4.11~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b7a16e07a6836fdc3c36eebbc2383a21d1ed3b2;p=genkernel.git Break search loop asap --- diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index f9e7927..f14333a 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -420,7 +420,7 @@ check_slowusb() { for x in "${usb_storage_dir}"/* do [ -d "${x}" ] && [ "${x}" != "${usb_storage_dir}/module" ] \ - && FORCE_slowusb="1" + && { FORCE_slowusb="1" ; break ; } done }