Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1189302

Bug#1065573: Wrong patch

From Leandro Lucarella <luca@llucax.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1065573: Wrong patch
Date 2024-03-06 22:00 +0100
Message-ID <If6wN-eSqX-9@gated-at.bofh.it> (permalink)
References <If6n8-eSnw-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Damn, the patch is wrong, it should be something like:

if ! [ -s /etc/resolv.conf ] && [ -n "$IPV4DNS0" ]; then  
        echo "nameserver $IPV4DNS0" >> /etc/resolv.conf
fi

-- 
Leandro Lucarella (Luca)
https://llucax.com

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1065573: kxc: initramfs script writes a line to resolv.conf with $IPV4DNS0 even if empty Leandro Lucarella <luca-debian@llucax.com> - 2024-03-06 21:50 +0100
  Bug#1065573: Wrong patch Leandro Lucarella <luca@llucax.com> - 2024-03-06 22:00 +0100

csiph-web