File 0627-40network-fix-typo-in-did-setup-conditional.patch of Package dracut.16003

From 557093a8b4cee1ab65767594efa5995c46044bba Mon Sep 17 00:00:00 2001
From: Thomas Blume <Thomas.Blume@suse.com>
Date: Fri, 31 Jul 2020 17:42:22 +0200
Subject: [PATCH] 40network: fix typo in did setup conditional

fixes bsc#1172807
---
 modules.d/40network/ifup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
index c13664af..33f07ebb 100755
--- a/modules.d/40network/ifup.sh
+++ b/modules.d/40network/ifup.sh
@@ -609,7 +609,7 @@ if [ ! -e /tmp/net.${netif}.up ]; then
             do_dhcp -4
         fi
     fi
-    if [ $? -eq 0 ] && [ -n "$(ls /tmp/leaseinfo.${netif}*)" ]; the
+    if [ $? -eq 0 ] && [ -n "$(ls /tmp/leaseinfo.${netif}*)" ]; then
         bring_online
     fi
 fi
-- 
2.27.0

openSUSE Build Service is sponsored by