From ccff4c94718d8bc1d439c1a6e69fcd03b319c8c1 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Fri, 12 Jul 2013 22:20:38 +0200 Subject: Style fixes Redirect syntax and a modeline. --- src/lib/ip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ip') diff --git a/src/lib/ip b/src/lib/ip index e0629ec..e144ee3 100644 --- a/src/lib/ip +++ b/src/lib/ip @@ -48,7 +48,7 @@ ip_set() { rm -f "/run/dhcpcd-$Interface".{pid,cache} # If using own dns, tell dhcpcd to NOT replace resolv.conf [[ $DNS ]] && DhcpcdOptions+=" -C resolv.conf" - do_debug dhcpcd -4qL -t "${TimeoutDHCP:-10}" $DhcpcdOptions "$Interface" 2>&1 | report_debug "$(cat)" + do_debug dhcpcd -4qL -t "${TimeoutDHCP:-10}" $DhcpcdOptions "$Interface" |& report_debug "$(cat)" # The first array value of PIPESTATUS is the exit status of dhcpcd if (( PIPESTATUS != 0 )); then report_error "DHCP IP lease attempt failed on interface '$Interface'" -- cgit v1.2.3-24-g4f1b