aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongodb/mongodb.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mongodb/mongodb.pre-install')
-rw-r--r--testing/mongodb/mongodb.pre-install5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/mongodb/mongodb.pre-install b/testing/mongodb/mongodb.pre-install
index 93c85ecf5c..12b09a1969 100644
--- a/testing/mongodb/mongodb.pre-install
+++ b/testing/mongodb/mongodb.pre-install
@@ -1,5 +1,6 @@
#!/bin/sh
-addgroup -S mongodb
-adduser -S -D -G mongodb -h /var/lib/mongodb -s /sbin/nologin -g mongodb mongodb
+addgroup -S mongodb 2>/dev/null
+adduser -S -D -G mongodb -h /var/lib/mongodb -s /sbin/nologin -g mongodb mongodb 2>/dev/null
+
exit 0