We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d5406b + 5ab0cbe commit f58de70Copy full SHA for f58de70
install/usr/local/bin/restore
@@ -1132,16 +1132,16 @@ EOF
1132
echo -e "${coff}"
1133
read -p "$(echo -e ${clg}** ${cdgy}Enter Value \(${cwh}Y${cdgy}\) \| \(${cwh}N${cdgy}\) \| \(${cwh}Q${cdgy}\) : ${cwh}${coff})" q_menu_mongo_dropdb
1134
case "${q_menu_mongo_dropdb,,}" in
1135
- "y" | "yes" | * )
1136
- mongo_dropdb="--drop"
1137
- ;;
1138
"n" | "update" )
1139
unset mongo_dropdb
1140
;;
1141
"q" | "exit" )
1142
print_info "Quitting Script"
1143
exit 1
1144
+ "y" | "yes" | * )
+ mongo_dropdb="--drop"
+ ;;
1145
esac
1146
1147
print_info "Restoring '${r_filename}' into '${r_dbhost}'/'${r_dbname}'"
0 commit comments