Don't send to stdout
This commit is contained in:
parent
dbd9010e2a
commit
fdc426bbd8
|
@ -5327,9 +5327,9 @@ function refresh_gpg_keys {
|
|||
REFRESH_GPG_KEYS_SCRIPT=/usr/bin/update-gpg-keys
|
||||
echo '#!/bin/bash' > $REFRESH_GPG_KEYS_SCRIPT
|
||||
echo "if [ -f /usr/local/bin/${PROJECT_NAME}-sec ]; then" >> $REFRESH_GPG_KEYS_SCRIPT
|
||||
echo " /usr/bin/timeout 600 /usr/local/bin/${PROJECT_NAME}-sec --refresh yes" >> $REFRESH_GPG_KEYS_SCRIPT
|
||||
echo " /usr/bin/timeout 600 /usr/local/bin/${PROJECT_NAME}-sec --refresh yes > /dev/null" >> $REFRESH_GPG_KEYS_SCRIPT
|
||||
echo 'else' >> $REFRESH_GPG_KEYS_SCRIPT
|
||||
echo " /usr/bin/timeout 600 /usr/bin/${PROJECT_NAME}-sec --refresh yes" >> $REFRESH_GPG_KEYS_SCRIPT
|
||||
echo " /usr/bin/timeout 600 /usr/bin/${PROJECT_NAME}-sec --refresh yes > /dev/null" >> $REFRESH_GPG_KEYS_SCRIPT
|
||||
echo 'fi' >> $REFRESH_GPG_KEYS_SCRIPT
|
||||
chmod +x $REFRESH_GPG_KEYS_SCRIPT
|
||||
|
||||
|
|
Loading…
Reference in New Issue