From 89356ad7d2e7007c31fa2ba0a19bdcb0db3491c3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 5 Aug 2017 17:26:16 +0300 Subject: code style --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 0e3cf0e..782b641 100755 --- a/update.sh +++ b/update.sh @@ -252,7 +252,7 @@ write_database() { } delete_obsolete_dirs() { - if [ $# -ne 2 ]; then + if [ "$#" -ne 2 ]; then echo "usage: ${FUNCNAME[0]} BASE_DIR DIR" >&2 return 1 fi -- cgit v1.2.3