diff options
author | Tharre <tharre3@gmail.com> | 2018-08-07 03:01:38 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-08-07 04:31:00 +0200 |
commit | f90a5be438306e5f92948199b2365c7d1f2f54f7 (patch) | |
tree | f8f4e8a4c328c5df427589777e6fc4cc4bdebf23 /arch-system/PKGBUILD | |
parent | 5223a9537c69621a5b77644c4d78c989439bb682 (diff) | |
download | pkgbuilds-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 'arch-system/PKGBUILD')
-rw-r--r-- | arch-system/PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-system/PKGBUILD b/arch-system/PKGBUILD index 7523ad5..399680e 100644 --- a/arch-system/PKGBUILD +++ b/arch-system/PKGBUILD @@ -31,7 +31,7 @@ sha256sums=('bb00c42f2802c12536c46700b948d41a43153d97a6986827b7c61203880e1ad1' '99cd268de0e9b847d65f802e7bcbbf7318398a04db61523545d4002ebdfb4d9c' '42050ba722df1cd606288e82054e131dac99bf10506f4c8d52eb9bfc0a078d89' 'e1bf3dc5978a7641f86975b7ee770a6914b30a8e4b7e3be2f1b07eaa7098591d' - 'ba4e0a45cd428678ccb3b9981131333c2afa450107ca4a4bda475748ef915628' + '5ae98dd2c668b4ef1a5893a3f84716578b7dd986e7500ca3272135140dbb3801' '5613c98d32e513a973e8a0e250ab0b267882a73615f507b6208d4a5f21487fe6') package_base-system() { |