Fix coding style

This commit is contained in:
Girish Ramakrishnan
2017-01-04 13:23:19 -08:00
parent e547a719f6
commit 4784b7b00e
2 changed files with 3 additions and 9 deletions

View File

@@ -42,9 +42,7 @@ if [[ "$1" == "s3" ]]; then
if [ $# -gt 9 ]; then
export AWS_SESSION_TOKEN="${10}"
fi
fi
if [[ "$1" == "filesystem" ]]; then
elif [[ "$1" == "filesystem" ]]; then
readonly backup_folder="$3"
readonly backup_config_fileName="$4"
readonly backup_data_fileName="$5"
@@ -99,9 +97,7 @@ if [[ "$1" == "s3" ]]; then
fi
cat "${error_log}" && rm "${error_log}"
done
fi
if [[ "$1" == "filesystem" ]]; then
elif [[ "$1" == "filesystem" ]]; then
mkdir -p "${backup_folder}"
echo "Storing backup config to ${backup_folder}/${backup_config_fileName}"

View File

@@ -79,9 +79,7 @@ if [[ "$1" == "s3" ]]; then
fi
cat "${error_log}" && rm "${error_log}"
done
fi
if [[ "$1" == "filesystem" ]]; then
elif [[ "$1" == "filesystem" ]]; then
echo "Storing backup to ${backup_folder}/${backup_fileName}"
mkdir -p "${backup_folder}"