Skip to content

Commit

Permalink
Remove failing SSH key check (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu authored Feb 23, 2021
1 parent 3c0dd72 commit 8da81e7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/vorta/borg/borg_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,6 @@ def prepare(cls, profile):
ret['message'] = trans_late('messages', 'Add a backup repository first.')
return ret

if profile.ssh_key is not None and profile.repo.is_remote_repo() and \
not os.path.isfile(os.path.expanduser(f'~/.ssh/{profile.ssh_key}')):
ret['message'] = trans_late(
'messages', 'Your SSH key {} is missing. Add or change your key and try again.'.format(profile.ssh_key))
return ret

if not borg_compat.check('JSON_LOG'):
ret['message'] = trans_late('messages', 'Your Borg version is too old. >=1.1.0 is required.')
return ret
Expand Down

0 comments on commit 8da81e7

Please sign in to comment.