Stupid mistake in PORTFW detection
This commit is contained in:
parent
d2499bb38a
commit
6e842c7f3a
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
||||
VERSION=0.9.4
|
||||
VERSION=0.9.5
|
||||
TAR=/usr/bin/tar
|
||||
TARBALL="firewall-sosdg-$(VERSION).tar.bz2"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user