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