aboutsummaryrefslogtreecommitdiff
path: root/firebase-migration.sh
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-05-23 09:31:59 +0200
committertomsmeding <tom.smeding@gmail.com>2017-05-23 09:31:59 +0200
commit25c997836d60b16c86d1f5d9b24fb5ed78b1e319 (patch)
treea296f2a3e87edbc9c423ac92514626096e95c994 /firebase-migration.sh
parent186cd7ec87ab354b6fcbf38ac1575444903000d9 (diff)
server: WIP firebase: fix firebase-migration.sh
Diffstat (limited to 'firebase-migration.sh')
-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