Exit from gpg refresh script

This commit is contained in:
Bob Mottram 2016-10-31 19:09:29 +00:00
parent ad2ab45a70
commit 3253971a95
1 changed files with 1 additions and 0 deletions

View File

@ -1602,6 +1602,7 @@ function refresh_gpg_keys {
echo 'else' >> $REFRESH_GPG_KEYS_SCRIPT
echo " /usr/bin/timeout 600 /usr/bin/${PROJECT_NAME}-sec --refresh yes" >> $REFRESH_GPG_KEYS_SCRIPT
echo 'fi' >> $REFRESH_GPG_KEYS_SCRIPT
echo 'exit 0' >> $REFRESH_GPG_KEYS_SCRIPT
chmod +x $REFRESH_GPG_KEYS_SCRIPT
if grep -q "${PROJECT_NAME}-sec" /etc/crontab; then