dracut/0134-network-ifup-fix-warning-about-not-bringing-interfac.patch

24 lines
785 B
Diff
Raw Normal View History

From b519ae7008aa20828b30f021b25c38cfd459f27c Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Tue, 1 Sep 2015 17:22:37 +0200
Subject: [PATCH] network/ifup: fix warning about not bringing interface up
(cherry picked from commit 70f3c07846e92d11484a1f7b5cb84aacc47489b4)
---
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 b83d7e7..9246da7 100755
--- a/modules.d/40network/ifup.sh
+++ b/modules.d/40network/ifup.sh
@@ -151,7 +151,7 @@ do_static() {
strglobin $ip '*:*:*' && load_ipv6
if ! linkup $netif; then
- warn "Could bring interface $netif up!"
+ warn "Could not bring interface $netif up!"
return 1
fi