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