Silence sftp

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-01-22 02:12:39 +01:00
parent f7250fedd9
commit d21765fabf
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -82,7 +82,7 @@ function link_latest() {
local link="$2"
if [[ $HETZNER_WORKAROUND == true ]]; then
echo -e "rm ${link}\nsymlink ${dest} ${link}" | sftp "${REMOTE_HOST}" && return 0 || {
echo -e "rm ${link}\nsymlink ${dest} ${link}" | sftp -q "${REMOTE_HOST}" && return 0 || {
error "Renewing latest-link (sftp)."
return 1
}