Fix bash again.
authorRoy Marples <roy@marples.name>
Tue, 28 Apr 2015 14:52:00 +0000 (14:52 +0000)
committerRoy Marples <roy@marples.name>
Tue, 28 Apr 2015 14:52:00 +0000 (14:52 +0000)
resolvconf.in

index 12d3dfd9636b5d4da58c9588adf48c1fc76e671e..3b2b0f53fd835538097b3bce8bec0101589e8580 100644 (file)
@@ -714,7 +714,7 @@ a)
        esac
 
        if $changedfile; then
-               printf %s "$resolv" >"$IFACEDIR/$iface" || exit $?
+               printf "%s\n" "$resolv" >"$IFACEDIR/$iface" || exit $?
        elif ! $changed; then
                exit 0
        fi