Harald Hoyer 9d5d75
From 1c4a51c39c8ed9908ae8118eff78d3476eaddf61 Mon Sep 17 00:00:00 2001
Harald Hoyer 9d5d75
From: Lubomir Rintel <lkundrak@v3.sk>
Harald Hoyer 9d5d75
Date: Fri, 31 Aug 2018 16:51:38 +0200
Harald Hoyer 9d5d75
Subject: [PATCH] network: fix an error message
Harald Hoyer 9d5d75
Harald Hoyer 9d5d75
---
Harald Hoyer 9d5d75
 modules.d/40network/netroot.sh | 2 +-
Harald Hoyer 9d5d75
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 9d5d75
Harald Hoyer 9d5d75
diff --git a/modules.d/40network/netroot.sh b/modules.d/40network/netroot.sh
Harald Hoyer 9d5d75
index c80a59fe..207364cd 100755
Harald Hoyer 9d5d75
--- a/modules.d/40network/netroot.sh
Harald Hoyer 9d5d75
+++ b/modules.d/40network/netroot.sh
Harald Hoyer 9d5d75
@@ -46,7 +46,7 @@ if [ -z "$2" ]; then
Harald Hoyer 9d5d75
         # we die. Otherwise we just warn
Harald Hoyer 9d5d75
         if [ -z "$new_root_path" ] ; then
Harald Hoyer 9d5d75
             [ -n "$BOOTDEV" ] && die "No dhcp root-path received for '$BOOTDEV'"
Harald Hoyer 9d5d75
-            warn "No dhcp root-path received for '$BOOTDEV' trying other interfaces if available"
Harald Hoyer 9d5d75
+            warn "No dhcp root-path received for '$netif' trying other interfaces if available"
Harald Hoyer 9d5d75
             exit 1
Harald Hoyer 9d5d75
         fi
Harald Hoyer 9d5d75
 
Harald Hoyer 9d5d75