Exit from gpg refresh script
This commit is contained in:
parent
ad2ab45a70
commit
3253971a95
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue