From 8b7a16e07a6836fdc3c36eebbc2383a21d1ed3b2 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 9 Jan 2011 19:10:47 +0100 Subject: [PATCH] Break search loop asap --- defaults/initrd.scripts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.26.2