summaryrefslogtreecommitdiffstats
path: root/src/connections/ethernet-iproute
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-08-26 02:18:50 +0200
committerJames Rayner <james@archlinux.org>2009-09-07 12:19:46 +0200
commit0cd7101bb61df258b35283b33e4055139b34bc40 (patch)
treef79bdf42d17da1067114f9137e7d7bc8b21895e9 /src/connections/ethernet-iproute
parent812fdb207b88d7f0bfd022641873d00b66d9071b (diff)
downloadnetctl-0cd7101bb61df258b35283b33e4055139b34bc40.tar.gz
netctl-0cd7101bb61df258b35283b33e4055139b34bc40.tar.xz
quotes around $(...) where needed
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/connections/ethernet-iproute')
-rw-r--r--src/connections/ethernet-iproute2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/ethernet-iproute b/src/connections/ethernet-iproute
index f0ac995..b86b9f4 100644
--- a/src/connections/ethernet-iproute
+++ b/src/connections/ethernet-iproute
@@ -54,7 +54,7 @@ ethernet_up() {
[[ -n "$DNS" ]] && DHCP_OPTIONS="-C resolv.conf $DHCP_OPTIONS"
report_debug ethernet_iproute_up dhcpcd -qL -t "${DHCP_TIMEOUT:-10}" $DHCP_OPTIONS "$INTERFACE"
- dhcpcd -qL -t "${DHCP_TIMEOUT:-10}" $DHCP_OPTIONS "$INTERFACE" 2>&1 | report_debug $(cat)
+ dhcpcd -qL -t "${DHCP_TIMEOUT:-10}" $DHCP_OPTIONS "$INTERFACE" 2>&1 | report_debug "$(cat)"
if [[ "$PIPESTATUS" -ne 0 ]]; then
report_iproute "DHCP IP lease attempt failed"
fi