diff options
-rwxr-xr-x | scripts/remove_entity.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/remove_entity.sh b/scripts/remove_entity.sh index cf67e74b..2ab77bc7 100755 --- a/scripts/remove_entity.sh +++ b/scripts/remove_entity.sh @@ -6,7 +6,7 @@ error() exit 1 } -if [ -z "$1" ]; then +if [ -z "$1" ]; then echo "$0 <Filename / id from metadata to remove>" exit fi @@ -43,7 +43,7 @@ if [ -r "$file" ]; then echo "---------------------" echo -n "OK to remove ? [Y/n]" read x - case $x in + case $x in "Y"|"y"|"") ;; *) exit 1 ;; esac |