Commit 9188b9e1 authored by Mike Hibler's avatar Mike Hibler
Browse files

Don't remove oldconfig if there are blockstores of one type but not the other.

parent a9e75f33
......@@ -217,7 +217,10 @@ sub doboot()
#
if (!@cmds && !@ocmds) {
#warn("*** No storageconfig output - nothing to do\n");
unlink($OLDCONFIG);
# do not remove if there are blockstores of any type
if (!@allcmds) {
unlink($OLDCONFIG);
}
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment