summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 40605a3d..48fe9734 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -312,8 +312,8 @@ fi
#
if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] ; then
if ! grep mock /etc/group ; then
- groupadd --system mock
- usermod -a -G mock jenkins
+ sudo groupadd --system mock
+ sudo usermod -a -G mock jenkins
fi
fi