Author: biurrun Date: Fri Sep 4 18:24:40 2009 New Revision: 939 Log: Ahem, restore exit statement that was commented out for debug purposes. Modified: trunk/tools/switch-ip Modified: trunk/tools/switch-ip ============================================================================== --- trunk/tools/switch-ip Fri Sep 4 18:16:12 2009 (r938) +++ trunk/tools/switch-ip Fri Sep 4 18:24:40 2009 (r939) @@ -111,7 +111,7 @@ if [ $(whoami) != "root" ]; then echo "You must be root to run this script!" - #exit 1 + exit 1 fi optarr=($(getopt -o 'hi:' --long 'myip1:,myip2:,apip1:,apip2:,apssid1:,apssid2:,apmac1:,apmac2:,udhcpc,route_extra_cmd,nowep,help' -- "$@"))