Stupid mistake in PORTFW detection

master
bbruns 2010-08-29 16:28:53 +00:00
parent d2499bb38a
commit 6e842c7f3a
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
VERSION=0.9.4
VERSION=0.9.5
TAR=/usr/bin/tar
TARBALL="firewall-sosdg-$(VERSION).tar.bz2"

View File

@ -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