mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
vstart: bail out if "-k" and old config is not readable
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
dfcbcb5b11
commit
bd02331a46
@ -231,6 +231,10 @@ case $1 in
|
||||
cephx=0
|
||||
;;
|
||||
-k )
|
||||
if [ ! -r $conf_fn ]; then
|
||||
echo "cannot use old configuration: $conf_fn not readable." >&2
|
||||
exit
|
||||
fi
|
||||
overwrite_conf=0
|
||||
;;
|
||||
--memstore )
|
||||
|
Loading…
Reference in New Issue
Block a user