From 36b532bc58f112bd5eacbb863a6bf4899261cc7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Sun, 12 Jan 2025 18:34:46 +0500 Subject: [PATCH] Oops. --- dobroho_vechora.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dobroho_vechora.bash b/dobroho_vechora.bash index d1778a4..d2a0a9c 100755 --- a/dobroho_vechora.bash +++ b/dobroho_vechora.bash @@ -63,7 +63,7 @@ case "${mode}" in esac encrypt() { - if [ "${enc}" -eq 1 ] | [ -z "${DOBROHO_VECHORA_ENCRYPTION_PASSWORD}" ]; then + if [ "${enc}" -eq 0 ] || [ -z "${DOBROHO_VECHORA_ENCRYPTION_PASSWORD}" ]; then cat return 0 fi @@ -71,7 +71,7 @@ encrypt() { } decrypt() { - if [ "${enc}" -eq 1 ] | [ -z "${DOBROHO_VECHORA_ENCRYPTION_PASSWORD}" ]; then + if [ "${enc}" -eq 0 ] || [ -z "${DOBROHO_VECHORA_ENCRYPTION_PASSWORD}" ]; then cat return 0 fi