Add -n to rehash to prevent cert missing during the process

This commit is contained in:
2023-10-04 10:10:53 +02:00
parent c98ab8361d
commit c7e44ca8cc

View File

@@ -100,7 +100,7 @@ do
done
# Rehash
if /usr/bin/c_rehash > /dev/null 2>&1; then
if /usr/bin/c_rehash -n > /dev/null 2>&1; then
INFO "Rehash successful"
else
ERROR "Could not rehash $PATHSSL!"