From 64e6da091adcbd7759ef36ae4a58887e5eb00d3f Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Tue, 17 Jun 2014 13:08:27 +0200 Subject: Remove superfluous debugging --- src/lib/connections/wireless | 2 +- src/lib/dhcp/dhcpcd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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'" -- cgit v1.2.3-24-g4f1b