From: Roy Marples Date: Wed, 15 Oct 2014 16:09:27 +0000 (+0000) Subject: Copy files correctly, fixes [bb001cca8d]. X-Git-Tag: v6.5.1~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=596eaa6029d87789c23d2191eb56f5e7e2ff2dae;p=thirdparty%2Fdhcpcd.git Copy files correctly, fixes [bb001cca8d]. --- diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 032ce9b2..660435ee 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -161,7 +161,7 @@ copy_file() ln -sf "$1" "$2" else comp_file "$1" "$2" && return 1 - cat "$2" >"$1" + cat "$1" >"$2" fi }