mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Merge remote-tracking branch 'origin/fix-mongosh-call-syntax' into testing
This commit is contained in:
commit
f6da0e2660
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ ynh_mongo_exec() {
|
|||
database=""
|
||||
fi
|
||||
|
||||
mongosh --quiet --username $user --password $password --authenticationDatabase $authenticationdatabase --host $host --port $port <<EOF
|
||||
mongosh --quiet $user $password $authenticationdatabase $host $port <<EOF
|
||||
$database
|
||||
${command}
|
||||
quit()
|
||||
|
@ -123,7 +123,7 @@ EOF
|
|||
database=""
|
||||
fi
|
||||
|
||||
mongosh --quiet $database --username $user --password $password --authenticationDatabase $authenticationdatabase --host $host --port $port --eval="$command"
|
||||
mongosh --quiet $database $user $password $authenticationdatabase $host $port --eval="$command"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue