From bfb6372c29a95de60c2235d60f2ab5e718cec60c Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 26 Oct 2025 12:10:09 -0400 Subject: [PATCH] Correct misleading variable name --- src/cli/entryReader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/entryReader.go b/src/cli/entryReader.go index 11114fa..25af67d 100644 --- a/src/cli/entryReader.go +++ b/src/cli/entryReader.go @@ -88,10 +88,10 @@ func EntryReaderDecrypt(targetLocation string, hideSecrets bool) { if err != nil { // if the location does not exist or is a directory... other.PrintError("Failed to verify target location: "+err.Error(), back.ErrorTargetNotFound) } - decBytes, err := crypt.DecryptFileToSlice(targetLocation) + decSlice, err := crypt.DecryptFileToSlice(targetLocation) if err != nil { other.PrintError("Failed to decrypt entry: "+err.Error(), global.ErrorDecryption) } - EntryReader(decBytes, hideSecrets, false) // never sync if decrypting straight to EntryReader, as this means the entry could not have been modified + EntryReader(decSlice, hideSecrets, false) // never sync if decrypting straight to EntryReader, as this means the entry could not have been modified // do not exit, as this is the job of EntryReader }