diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2014-06-17 13:08:27 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2014-06-17 13:08:27 +0200 |
commit | 64e6da091adcbd7759ef36ae4a58887e5eb00d3f (patch) | |
tree | 423d97ce5df3ae8cac88db9c0ea24fdde2847ffe | |
parent | 105fba4593f02fccb85909ea3bc30ed8c426908d (diff) | |
download | netctl-64e6da091adcbd7759ef36ae4a58887e5eb00d3f.tar.gz netctl-64e6da091adcbd7759ef36ae4a58887e5eb00d3f.tar.xz |
Remove superfluous debugging
-rw-r--r-- | src/lib/connections/wireless | 2 | ||||
-rw-r--r-- | src/lib/dhcp/dhcpcd | 2 |
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'" |