Merge "Check if /etc/swift exists in ring builder" into icehouse

This commit is contained in:
Jenkins 2014-11-17 02:31:29 +00:00 committed by Gerrit Code Review
commit c9d2f09ee3

View File

@ -68,7 +68,10 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
fi
cd /etc/swift
if ! cd "/etc/swift"; then
echo "The path /etc/swift not accessible. Please check if it exists."
exit 1
fi
for builder_file in $builder_files
do