From 28ffeaad854f329f8ac58a6faee3bc98439de24e Mon Sep 17 00:00:00 2001 From: Nikolaus Gotsche Date: Thu, 7 Dec 2017 01:55:39 +0100 Subject: some errors fixed --- fancyIP | 9 ++++----- 1 file 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 -- cgit v1.2.3