arc: fix syntax

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-05-18 14:04:35 +02:00
parent 961a4c305a
commit cdefd4a21f

View File

@@ -2153,7 +2153,7 @@ function satadomMenu() {
###############################################################################
# Decrypt Menu
function decryptMenu() {
if [ -n "${S_FILE_ENC}"]; then
if [ -f "${S_FILE_ENC}" ]; then
dialog --backtitle "$(backtitle)" --colors --title "Arc Decrypt" \
--inputbox "Key for Decrypt" 0 0 2>"${TMP_PATH}/resp"
[ $? -ne 0 ] && return