This commit is contained in:
bʰedoh₂ swé 2025-01-12 18:34:46 +05:00
parent 35d0b4753f
commit 36b532bc58

View File

@ -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