summaryrefslogtreecommitdiff
path: root/fancyIP
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2017-12-07 01:55:39 +0100
committerNikolaus Gotsche <n@softwarefools.com>2017-12-07 01:55:39 +0100
commit28ffeaad854f329f8ac58a6faee3bc98439de24e (patch)
tree19f7369a74a20c1fbe195f0ad97d04841a831d5d /fancyIP
parentcbe8e795737c231475fa7c53756058b1dd649cf5 (diff)
some errors fixed
Diffstat (limited to 'fancyIP')
-rwxr-xr-xfancyIP9
1 files changed, 4 insertions, 5 deletions
diff --git a/fancyIP b/fancyIP
index eede344..118e832 100755
--- a/fancyIP
+++ b/fancyIP
@@ -62,18 +62,17 @@ if [ $# -eq 0 ] && [ -t 0 ]; then
echo "nada"
#No arguments and pipes
showDB
-
-else
+ exit
+fi
+#else
-while [[ -n $1 ]]; do
+while [ -n "$1" ]; do
case $1 in
-b | --bottom) bottom=1
- shift
# filename=$1
;;
-n | --nocomment) nocomment=1
- shift
# filename=$1
;;
-h | --help) usage