master
Marc Wäckerlin 6 years ago
parent 6a963eea34
commit c3ee785af6
  1. 2
      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

Loading…
Cancel
Save