summaryrefslogtreecommitdiffstats
path: root/contrib/openresolv/libc.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/openresolv/libc.in')
-rw-r--r--contrib/openresolv/libc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/openresolv/libc.in b/contrib/openresolv/libc.in
index 5145e53..3fd6046 100644
--- a/contrib/openresolv/libc.in
+++ b/contrib/openresolv/libc.in
@@ -216,7 +216,7 @@ fi
if $backup; then
if [ "$newconf" = "$signature$NL" ]; then
if [ -e "$resolv_conf.bak" ]; then
- newconf="$(cat "$resolv_conf.bak")"
+ newconf="$(cat "$resolv_conf.bak")$NL"
fi
elif [ -e "$resolv_conf" ]; then
read line <"$resolv_conf"
OpenPOWER on IntegriCloud