[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] update-cert-dbs: Silence id command.

Dominik George gitlab at salsa.debian.org
Sun Jan 13 13:28:42 GMT 2019


Dominik George pushed to branch master at Debian Edu / debian-edu-config


Commits:
0f79fba9 by Dominik George at 2019-01-13T13:27:25Z
update-cert-dbs: Silence id command.

- - - - -


1 changed file:

- share/debian-edu-config/tools/update-cert-dbs


Changes:

=====================================
share/debian-edu-config/tools/update-cert-dbs
=====================================
@@ -12,7 +12,7 @@ for dir in "$BASE_HOME"/*; do
 
     # Extract username and check existence
     username=${dir##*/}
-    id "$username" || continue
+    id "$username" >/dev/null || continue
 
     if [ -d "$dir/.mozilla/firefox/debian-edu.default" ] ; then
         su - $username sh -c 'certutil  -A -d sql:$HOME/.mozilla/firefox/debian-edu.default/ -t "CT,CT," -n "DebianEdu" -i /etc/ssl/certs/Debian-Edu_rootCA.crt'



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/0f79fba9fa969fa4d2d68b8e0de3eb6e0697bb49

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/0f79fba9fa969fa4d2d68b8e0de3eb6e0697bb49
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/debian-edu-commits/attachments/20190113/7d6dfca1/attachment.html>


More information about the debian-edu-commits mailing list