summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-07-07 17:26:02 -0500
committerWilliam Hubbs <williamh@gentoo.org>2013-07-07 17:26:02 -0500
commit2f9ad0cdfc8d53a227d9a90f16de0f3df33e07b7 (patch)
tree82ae33a838bd51ff84e4a1b73b74324a1b6f912c
parentMove functions from livecd-functions.sh to net-setup (diff)
downloadlivecd-tools-2f9ad0cdfc8d53a227d9a90f16de0f3df33e07b7.tar.gz
livecd-tools-2f9ad0cdfc8d53a227d9a90f16de0f3df33e07b7.tar.bz2
livecd-tools-2f9ad0cdfc8d53a227d9a90f16de0f3df33e07b7.zip
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.
-rwxr-xr-xnet-setup6
1 files changed, 0 insertions, 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