e83cdd
From 3464297288b50a062e1094e57d46ad21e51b351b Mon Sep 17 00:00:00 2001
e83cdd
From: Lukas Nykryn <lnykryn@redhat.com>
e83cdd
Date: Tue, 6 Aug 2019 10:54:09 +0200
e83cdd
Subject: [PATCH] net-lib: fix typo $li -> $_li
e83cdd
e83cdd
(cherry picked from commit cd97d8d2c0646b95aee47efd5eee39f29d617a67)
e83cdd
e83cdd
Resolves: #1625042
e83cdd
---
e83cdd
 modules.d/40network/net-lib.sh | 2 +-
e83cdd
 1 file changed, 1 insertion(+), 1 deletion(-)
e83cdd
e83cdd
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
e83cdd
index f9569573..ad78d225 100755
e83cdd
--- a/modules.d/40network/net-lib.sh
e83cdd
+++ b/modules.d/40network/net-lib.sh
e83cdd
@@ -748,7 +748,7 @@ iface_has_link() {
e83cdd
 iface_is_enslaved() {
e83cdd
     local _li
e83cdd
     _li=$(ip -o link show dev $1)
e83cdd
-    strstr "$li" " master " || return 1
e83cdd
+    strstr "$_li" " master " || return 1
e83cdd
     return 0
e83cdd
 }
e83cdd
 
e83cdd