aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirebase-migration.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/firebase-migration.sh b/firebase-migration.sh
index ad2f121..c153f4c 100755
--- a/firebase-migration.sh
+++ b/firebase-migration.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
dbname="$1"
-if test $# -ne 1 -o -n "$1"; then
+if test $# -ne 1 -o -z "$1"; then
echo >&2 "Pass database file as command-line argument"
exit 1
fi