diff --git a/openwrt/viwib-1-firmware-upgrade.sh b/openwrt/viwib-1-firmware-upgrade.sh index 245f6ec..d864323 100755 --- a/openwrt/viwib-1-firmware-upgrade.sh +++ b/openwrt/viwib-1-firmware-upgrade.sh @@ -8,6 +8,7 @@ if [ $# -ne 1 ]; then exit 1 fi +set -e set -x viwib_ip=$1; shift