diff options
Diffstat (limited to 'sign-ca.in')
-rwxr-xr-x | sign-ca.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ fi if [ -f '#ETCDIR#/simple-pki/ca/root-ca.crt' ]; then if [ ! -f '#ETCDIR#/simple-pki/ca/root-ca.crt.old' ] \ - || [ "$(stat -c%Y '#ETCDIR#/simple-pki/ca/root-ca.crt.old')" -lt "$(($(date +%s)-60*60*24*ca_min_duration))" ]; then + || [ "$(stat -c%Y '#ETCDIR#/simple-pki/ca/root-ca.crt.old')" -lt "$(($(date +%s)-60*60*24*ca_keep_duration))" ]; then mv \ '#ETCDIR#/simple-pki/ca/root-ca.crt' \ '#ETCDIR#/simple-pki/ca/root-ca.crt.old' |