From 9f7792a629cf74a9dd69170f93abb633d82ef1d1 Mon Sep 17 00:00:00 2001 From: "tal@whatexit.org" Date: Mon, 26 Jan 2015 13:45:44 -0500 Subject: [PATCH] Fix syntax error: blackbox_edit: line 12: conditional binary operator expected Fixed #39 --- bin/blackbox_edit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/blackbox_edit b/bin/blackbox_edit index c9a06ac..ea733ac 100755 --- a/bin/blackbox_edit +++ b/bin/blackbox_edit @@ -9,7 +9,7 @@ source ${blackbox_home}/_blackbox_common.sh for param in """$@""" ; do unencrypted_file=$(get_unencrypted_filename "$param") - if [[ ! is_on_cryptlist "$param" ]] && [[ ! is_on_cryptlist "$unencrypted_file" ]] ; then + if ! is_on_cryptlist "$param" && ! is_on_cryptlist "$unencrypted_file" ; then read -r -p "Encrypt file $param? (y/n) " ans case "$ans" in y* | Y*)