summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/connections/wireless2
-rw-r--r--src/lib/dhcp/dhcpcd2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/connections/wireless b/src/lib/connections/wireless
index 6e43864..8a21fdf 100644
--- a/src/lib/connections/wireless
+++ b/src/lib/connections/wireless
@@ -38,7 +38,7 @@ wireless_up() {
fi
# Start the WPA supplicant
- if ! do_debug wpa_start "$Interface" "$WPADriver" "$config_file"; then
+ if ! wpa_start "$Interface" "$WPADriver" "$config_file"; then
report_error "The WPA supplicant did not start for interface '$Interface'"
bring_interface_down "$Interface"
return 1
diff --git a/src/lib/dhcp/dhcpcd b/src/lib/dhcp/dhcpcd
index 5107819..b85b668 100644
--- a/src/lib/dhcp/dhcpcd
+++ b/src/lib/dhcp/dhcpcd
@@ -7,7 +7,7 @@ dhcpcd_start() {
fi
# If using own dns, tell dhcpcd to NOT replace resolv.conf
[[ $DNS ]] && DhcpcdOptions+=" -C resolv.conf"
- do_debug do_readable dhcpcd -4qL -t "${TimeoutDHCP:-30}" $DhcpcdOptions "$Interface" |& report_debug "$(cat)"
+ do_debug do_readable dhcpcd -4qL -t "${TimeoutDHCP:-30}" $DhcpcdOptions "$Interface"
# 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'"