Fix syntax error in devstack create-node script

when setting "--prealloc-metadata" parameter, a missing `]' error
will be raised, this was introduced by a recently merged patch
I8f8a0b75b41f0e2712496c275b91ee027aa37f76

Change-Id: If9877acf697f6c12e74a84c46aa44655d9ceef5a
Closes-Bug: #1581909
This commit is contained in:
Zhenguo Niu 2016-05-15 11:56:17 +08:00
parent 70d826dba9
commit 1447abcd02

View File

@ -51,7 +51,7 @@ if [ -n "$LOGDIR" ] ; then
fi
PREALLOC=
if [ -f /etc/debian_version && "$DISK_FORMAT" == "qcow2" ]; then
if [ -f /etc/debian_version -a "$DISK_FORMAT" == "qcow2" ]; then
PREALLOC="--prealloc-metadata"
fi