Fixed typo in server tools

This commit is contained in:
brammp committed 2021-01-16 02:08:37 +01:00
1 parent 482ae41455
commit 544fb8f2af
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ if [ ! -f "$(which uuidgen 2> /dev/null)" ]; then
exit 1 exit 1
fi fi
if [ "${systemctl is-active --quiet mongod}" != "active" ]; then if [ "$(systemctl is-active mongod)" != "active" ]; then
echo "ERROR: mongoDB service is not running" echo "ERROR: mongoDB service is not running"
exit 1 exit 1
fi fi
+1 -1
View File
@@ -2,7 +2,7 @@
[ -z $1 ] && echo "Usage: $0 <username>" && exit 1 [ -z $1 ] && echo "Usage: $0 <username>" && exit 1
if [ "${systemctl is-active --quiet mongod}" != "active" ]; then if [ "$(systemctl is-active mongod)" != "active" ]; then
echo "ERROR: mongoDB service is not running" echo "ERROR: mongoDB service is not running"
exit 1 exit 1
fi fi
+1 -1
View File
@@ -2,7 +2,7 @@
[ -z $1 ] || [ -z $2 ] && echo "Usage: $0 <username> <password>" && exit 1 [ -z $1 ] || [ -z $2 ] && echo "Usage: $0 <username> <password>" && exit 1
if [ "${systemctl is-active --quiet mongod}" != "active" ]; then if [ "$(systemctl is-active mongod)" != "active" ]; then
echo "ERROR: mongoDB service is not running" echo "ERROR: mongoDB service is not running"
exit 1 exit 1
fi fi