Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start-ceph: do rm -rf only when path exists
start-ceph has a line to remove `rm -rf "$CEPH_CONF_PATH"/*` If someone run this script locally when he has root previllages, he could accidentally remove his `/` directory because `CEPH_CONF_PATH` will come empty and the command will become `rm -rf /*` which is like shooting yourself infinitely.. Signed-off-by: Nizamudeen A <[email protected]>
- Loading branch information