Skip to content

Commit b7059ae

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(network-manager): avoid calling unavailable dracut-logger functions
The dracut-logger functions are only available during the initrd generation. For internal initrd scripts that run at boot, dracut-lib provides warn() and info().
1 parent 65e41b5 commit b7059ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules.d/35network-manager/nm-lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ nm_generate_connections() {
1111
# shellcheck disable=SC2046
1212
/usr/lib/nm-initrd-generator -- $(getcmdline)
1313
else
14-
derror "nm-initrd-generator not found"
14+
warn "nm-initrd-generator not found"
1515
fi
1616

1717
if getargbool 0 rd.neednet; then

0 commit comments

Comments
 (0)