aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gogs/gogs.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gogs/gogs.pre-install')
-rw-r--r--testing/gogs/gogs.pre-install6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/gogs/gogs.pre-install b/testing/gogs/gogs.pre-install
index 1596d65693..b1d3258c91 100644
--- a/testing/gogs/gogs.pre-install
+++ b/testing/gogs/gogs.pre-install
@@ -1,4 +1,6 @@
#!/bin/sh
-adduser -S -h /var/lib/gogs -s /bin/ash -G www-data -D -g gogs gogs 2>/dev/null || true
-passwd -u gogs || true
+adduser -S -h /var/lib/gogs -s /bin/ash -G www-data -D -g gogs gogs 2>/dev/null
+passwd -u gogs 2>/dev/null
+
+exit 0