aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
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