From c00ecb2892f783ed18c2f62772665d86ea66a252 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Aug 2024 12:33:12 +0200 Subject: Merging upstream version 103. Signed-off-by: Daniel Baumann --- modules.d/90livenet/livenetroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules.d/90livenet') diff --git a/modules.d/90livenet/livenetroot.sh b/modules.d/90livenet/livenetroot.sh index 34f91ff..eccaaed 100755 --- a/modules.d/90livenet/livenetroot.sh +++ b/modules.d/90livenet/livenetroot.sh @@ -47,7 +47,7 @@ while [ "$i" -le "$RETRIES" ]; do imgfile= fi - if [ -n "$imgfile" -a -s "$imgfile" ]; then + if [ -n "$imgfile" ] && [ -s "$imgfile" ]; then break else if [ $i -ge "$RETRIES" ]; then -- cgit v1.2.3