From c3ee785af6ae20df04b73803564a5b1de66a3746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 18 Apr 2018 11:41:51 +0200 Subject: [PATCH] typo --- lizardfs/lizsrdfs-snapshots.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lizardfs/lizsrdfs-snapshots.sh b/lizardfs/lizsrdfs-snapshots.sh index f1196cf..7ff279b 100755 --- a/lizardfs/lizsrdfs-snapshots.sh +++ b/lizardfs/lizsrdfs-snapshots.sh @@ -99,7 +99,7 @@ if test -z "${DESTINATION}"; then echo "ERROR: no destination specified, try $0 --help" 1>&2 exit 1 fi -if $dryrun -eq 0 && ! ( test -d "${DESTINATION}" || mkdir -p "${DESTINATION}" ); then +if test "$dryrun" -eq 0 && ! ( test -d "${DESTINATION}" || mkdir -p "${DESTINATION}" ); then echo "ERROR: cannot create destination path '$DESTINATION', try $0 --help" 1>&2 exit 1 fi