diff options
author | Johan Wassberg <jocar@sunet.se> | 2022-11-01 11:00:07 +0100 |
---|---|---|
committer | Johan Wassberg <jocar@sunet.se> | 2022-11-01 11:00:07 +0100 |
commit | 5ea8c2d30b8bf9abe92febd99ea4aa840b7b4401 (patch) | |
tree | 114eefdc4d9ee91fafdbe1ea808f7b4ac45d1379 /scripts/remove_entity.sh | |
parent | e77b4632fc95876ac64c9bb0b1142cb0e40a8c1a (diff) |
Clean up whitespaces
Diffstat (limited to 'scripts/remove_entity.sh')
-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 |