From 25c997836d60b16c86d1f5d9b24fb5ed78b1e319 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 23 May 2017 09:31:59 +0200 Subject: server: WIP firebase: fix firebase-migration.sh --- firebase-migration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2