]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
network: fix an error message
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 31 Aug 2018 14:51:38 +0000 (16:51 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 21 Sep 2018 09:32:01 +0000 (11:32 +0200)
modules.d/40network/netroot.sh

index c80a59fe6c980f18303abc93c139832977ff1222..207364cdb985dc4f76541a898b34a31abc90173c 100755 (executable)
@@ -46,7 +46,7 @@ if [ -z "$2" ]; then
         # we die. Otherwise we just warn
         if [ -z "$new_root_path" ] ; then
             [ -n "$BOOTDEV" ] && die "No dhcp root-path received for '$BOOTDEV'"
-            warn "No dhcp root-path received for '$BOOTDEV' trying other interfaces if available"
+            warn "No dhcp root-path received for '$netif' trying other interfaces if available"
             exit 1
         fi