mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
Assigned exit code 6 to "server connection error"
This commit is contained in:
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
.TH sshyp 1 "25 November 2022" "v1.2.1" "sshyp man page"
|
.TH sshyp 1 "07 December 2022" "v1.3.0" "sshyp man page"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sshyp \- A very simple self-hosted, synchronized password manager for UNIX(-like) systems. Alternative to (and compatible with) pass/password-store.
|
sshyp \- A very simple self-hosted, synchronized password manager for UNIX(-like) systems. Alternative to (and compatible with) pass/password-store.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@@ -122,5 +122,7 @@ Please note that the server setup intentionally does not allow the reading of en
|
|||||||
4 - data already exists error
|
4 - data already exists error
|
||||||
|
|
||||||
5 - decryption/encryption error
|
5 - decryption/encryption error
|
||||||
|
|
||||||
|
6 - server connection error
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Randall Winkhart (https://github.com/rwinkhart)
|
Randall Winkhart (https://github.com/rwinkhart)
|
||||||
|
|||||||
+1
-1
@@ -68,7 +68,7 @@ def remote_list_fetch(_user_data): # captures and returns all necessary data fr
|
|||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
print('\n\u001b[38;5;9merror: failed to connect to the remote server\u001b[0m\n')
|
print('\n\u001b[38;5;9merror: failed to connect to the remote server\u001b[0m\n')
|
||||||
_remote_data = ''
|
_remote_data = ''
|
||||||
s_exit(3)
|
s_exit(6)
|
||||||
_deletion_database = _remote_data[0].strip().split('\n')
|
_deletion_database = _remote_data[0].strip().split('\n')
|
||||||
_folder_database = _remote_data[1].strip().split('\n')
|
_folder_database = _remote_data[1].strip().split('\n')
|
||||||
_titles_mods = _remote_data[2].strip().split('\n')
|
_titles_mods = _remote_data[2].strip().split('\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user