Merge remote-tracking branch 'upstream/pull/10514/head'

* upstream/pull/10514/head:
  src/vstart.sh: stop script aborting when ceph.cfg is not there

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2016-07-30 16:33:29 -04:00
commit 9bef6cf85a
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -290,7 +290,7 @@ if [ "$overwrite_conf" -eq 0 ]; then
RGW=`$CEPH_BIN/ceph-conf -c $conf_fn --name $VSTART_SEC num_rgw 2>/dev/null` && \
CEPH_NUM_RGW="$RGW"
else
rm -- "$conf_fn"
[ -e "$conf_fn" ] && rm -- "$conf_fn"
fi
if [ "$start_all" -eq 1 ]; then