diff --git a/Makefile b/Makefile index d410c37..7e0babd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=0.9.4 +VERSION=0.9.5 TAR=/usr/bin/tar TARBALL="firewall-sosdg-$(VERSION).tar.bz2" diff --git a/rc.firewall b/rc.firewall index c3d3aca..aefe667 100755 --- a/rc.firewall +++ b/rc.firewall @@ -65,7 +65,7 @@ while [ $# -gt 0 ]; do shift done -if [ ! -r "${PORTFW}" ]; then +if [ ${PORTFW} ] && [ ! -r "${PORTFW}" ]; then display_c RED "Error: Missing ${PORTFW} as defined in the PORTFW option. Please make sure" display_c RED "it exists, or comment out the PORTFW line in options." exit 1