We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 729c52d commit 447e64aCopy full SHA for 447e64a
1 file changed
render-ws-with-mongo-db/db-restore-collections.sh
@@ -89,9 +89,7 @@ if [[ -z "$DUMP_PATTERN" ]]; then
89
list_level "$BASE_DUMP_DIR/$P"
90
done | sort -u)
91
92
- pick_many "Select one or more ${LABEL}s:" "${CHILDREN[@]}"
93
-
94
- if (( $? == 0 )); then
+ if pick_many "Select one or more ${LABEL}s:" "${CHILDREN[@]}"; then
95
# Append wildcards for remaining levels to each partial path
96
STARS=""
97
for (( R=LVL; R<${#LEVELS[@]}; R++ )); do STARS="${STARS}*/"; done
0 commit comments