From aa1e2de59fc0677895f3bf0b0dfbc504d9cef3e6 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 4 May 2007 15:58:26 +0000 Subject: [PATCH] Early catch for 'compile .' git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6234 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/shorewall | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall-common/shorewall b/Shorewall-common/shorewall index eb31f6e98..2df698345 100755 --- a/Shorewall-common/shorewall +++ b/Shorewall-common/shorewall @@ -515,6 +515,7 @@ compile_command() { case $# in 1) file=$1 + [ -d $file ] && echo " ERROR: $file is a directory" >&2 && exit 2; ;; 2) [ -n "$SHOREWALL_DIR" ] && usage 2