Assigned exit code 6 to "server connection error"

This commit is contained in:
2022-12-07 15:55:01 -05:00
parent 6080726dc6
commit b24d1df721
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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
sshyp \- A very simple self-hosted, synchronized password manager for UNIX(-like) systems. Alternative to (and compatible with) pass/password-store.
.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
5 - decryption/encryption error
6 - server connection error
.SH AUTHOR
Randall Winkhart (https://github.com/rwinkhart)
+1 -1
View File
@@ -68,7 +68,7 @@ def remote_list_fetch(_user_data): # captures and returns all necessary data fr
except CalledProcessError:
print('\n\u001b[38;5;9merror: failed to connect to the remote server\u001b[0m\n')
_remote_data = ''
s_exit(3)
s_exit(6)
_deletion_database = _remote_data[0].strip().split('\n')
_folder_database = _remote_data[1].strip().split('\n')
_titles_mods = _remote_data[2].strip().split('\n')