From 6d4fa3aca60be9025703d327d069d7473fb64d92 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 7 Jun 2023 11:17:22 -0700 Subject: [PATCH] updated reseter source script --- .../Reseter Source Files/Master_Passwords_Reset.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh index c6a8d62..4a1ee7d 100644 --- a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh +++ b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh @@ -74,12 +74,11 @@ ssh-keygen -q -N "$PASSWDNEW" -t ed25519 -f /home/free/.ssh/sovranpro_login if [[ $? -eq 1 ]]; then exit 1 +if - else +if [[ $? != 0 ]]; then - if [[ $? != 0 ]]; then - - zenity --error \ +zenity --error \ --ellipsize \ --no-wrap \ --title="Sovran_SystemsOS_Reseter" \ @@ -87,8 +86,6 @@ if [[ $? -eq 1 ]]; then exit 1 - fi - fi