aboutsummaryrefslogtreecommitdiffstats
path: root/initramfs-init.in
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-xinitramfs-init.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index 3d590e6..9642ce6 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -60,7 +60,7 @@ find_ovl() {
retry_mount() {
# usb might need some time to settle so we retry a few times
for i in $(seq 0 9); do
- mount $@ 2>&1 && return 0
+ mount $@ 2>/tmp/mount-error && return 0
sleep 1
done
return 1