mirror of
https://github.com/luzifer-docker/pvc-rsync.git
synced 2024-12-20 19:21:16 +00:00
Silence sftp
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f7250fedd9
commit
d21765fabf
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ function link_latest() {
|
||||||
local link="$2"
|
local link="$2"
|
||||||
|
|
||||||
if [[ $HETZNER_WORKAROUND == true ]]; then
|
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)."
|
error "Renewing latest-link (sftp)."
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue