From 2f9ad0cdfc8d53a227d9a90f16de0f3df33e07b7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 7 Jul 2013 17:26:02 -0500 Subject: net-setup: remove code hiding error messages net-setup was hiding error messages for no given reason, so this removes the code that hides them. --- net-setup | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net-setup b/net-setup index cde3ba6..4216787 100755 --- a/net-setup +++ b/net-setup @@ -201,9 +201,6 @@ fi livecd_check_root || exit 1 -# Hide any potential error messages from the readlink/dirname/etc calls below -exec 2>/dev/null - if [ -z "${1}" ] then show_ifmenu @@ -221,9 +218,6 @@ while true; do show_ifmenu done -# Show stderr again -exec 2>/dev/stderr - dialog --visit-items --title "Network setup" --menu "This script is designed to setup both wired and wireless network settings. All questions below apply to the ${iface} interface only. Choose one option:" 20 60 7 1 "My network is wireless" 2 "My network is wired" 2> ${iface}.WIRED_WIRELESS WIRED_WIRELESS=$(tail -n 1 ${iface}.WIRED_WIRELESS) case ${WIRED_WIRELESS} in -- cgit v1.2.3-18-g5258