summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shuler <michael@pbandjelly.org>2014-10-06 17:00:15 -0500
committerMichael Shuler <michael@pbandjelly.org>2014-10-06 17:00:15 -0500
commitf5c5e76c95d72e96e4fe826613087143a1946381 (patch)
treef7236fe525c1cb02598f358805304a4b677ead88
parent7b7e134df5d35317e9cdbc04118c59645456c373 (diff)
downloadca-certificates-f5c5e76c95d72e96e4fe826613087143a1946381.tar.gz
Add /dev/null output redirect of restorecon, per #685992 comment by Laurent Bigonville
-rwxr-xr-xsbin/update-ca-certificates2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
index fcd709c..9303b07 100755
--- a/sbin/update-ca-certificates
+++ b/sbin/update-ca-certificates
@@ -147,7 +147,7 @@ fi
chmod 0644 "$TEMPBUNDLE"
mv -f "$TEMPBUNDLE" "$CERTBUNDLE"
# Restore proper SELinux label after moving the file
-[ -x /sbin/restorecon ] && /sbin/restorecon "$CERTBUNDLE"
+[ -x /sbin/restorecon ] && /sbin/restorecon "$CERTBUNDLE" >/dev/null 2>&1
echo "$ADDED_CNT added, $REMOVED_CNT removed; done."