[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] fix error… s/getopt/getent/ (???)

Mattia Rizzolo gitlab at salsa.debian.org
Sun Aug 16 15:53:44 BST 2020



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
19f4e05c by Mattia Rizzolo at 2020-08-16T16:53:33+02:00
fix error… s/getopt/getent/ (???)

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- update_jdn.sh


Changes:

=====================================
update_jdn.sh
=====================================
@@ -150,7 +150,7 @@ users=$(for i in ${!user_host_groups[@]}; do echo ${i%,*} ; done | sort -u)
 		if ! getent group letsencrypt > /dev/null ; then
 			sudo addgroup --system letsencrypt
 		fi
-		if ! getopt passwd letsencrypt > /dev/null ; then
+		if ! getent passwd letsencrypt > /dev/null ; then
 			sudo adduser --system \
 				--gecos "Let's Encrypt role account" \
 				--shell /usr/sbin/nologin \



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/19f4e05c2372d4ea5231d162f744a2427ac2df63

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/19f4e05c2372d4ea5231d162f744a2427ac2df63
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200816/b213e211/attachment.html>


More information about the Qa-jenkins-scm mailing list