forked from extern/shorewall_code
Early catch for 'compile .'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6234 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
55f48d634c
commit
aa1e2de59f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user