From 6e842c7f3aee2e1e3b9a265d029cfee201186998 Mon Sep 17 00:00:00 2001 From: bbruns Date: Sun, 29 Aug 2010 16:28:53 +0000 Subject: [PATCH] Stupid mistake in PORTFW detection --- Makefile | 2 +- rc.firewall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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