Skip to content

Commit

Permalink
Update mongo_manage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
arooshap authored Nov 15, 2023
1 parent 5e2ba4f commit 8502242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/mongodb/source/mongotools/mongo_manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ init(){
PASSWORD=`age -i $AGE_KEY --decrypt -o - $CONFIG | grep PASSWORD | sed -e "s,PASSWORD=,,g"`
BACKUP_DIR=`age -i $AGE_KEY --decrypt -o - $CONFIG | grep BACKUP_DIR | sed -e "s,BACKUP_DIR=,,g"`
RS_NAME=`age -i $AGE_KEY --decrypt -o - $CONFIG | grep RS_NAME | sed -e "s,RS_NAME=,,g"`
DB_NAMES=$(cat "$CONFIG" | grep DB_NAMES | sed -e "s,DB_NAMES=,,g")
DB_NAMES=`age -i $AGE_KEY --decrypt -o - $CONFIG | grep DB_NAMES | sed -e "s,DB_NAMES=,,g"`
fi
if [ -z "$USERNAME" ]; then
echo "Unable to locate USERNAME in $CONFIG"
Expand Down

0 comments on commit 8502242

Please sign in to comment.