aboutsummaryrefslogtreecommitdiffstats
path: root/grokmirror
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2018-08-07 03:01:38 +0200
committerTharre <tharre3@gmail.com>2018-08-07 04:31:00 +0200
commitf90a5be438306e5f92948199b2365c7d1f2f54f7 (patch)
treef8f4e8a4c328c5df427589777e6fc4cc4bdebf23 /grokmirror
parent5223a9537c69621a5b77644c4d78c989439bb682 (diff)
downloadpkgbuilds-f90a5be438306e5f92948199b2365c7d1f2f54f7.tar.gz
pkgbuilds-f90a5be438306e5f92948199b2365c7d1f2f54f7.tar.xz
pkgbuilds-f90a5be438306e5f92948199b2365c7d1f2f54f7.zip
arch-system: borgbackup: better connectivity check
Instead of trying to execute borg, which would give us a false positive if borg itself isn't working on the remote, just connect to the server without executing a command. We check for 255 because `man 1 ssh` states the following: ssh exits with the exit status of the remote command or with 255 if an error occured.
Diffstat (limited to 'grokmirror')
0 files changed, 0 insertions, 0 deletions