From 9634e2424ac177d1c6f5b7eb6a3cb461f0864ae4 Mon Sep 17 00:00:00 2001 From: "tlimoncelli@stackexchange.com" Date: Wed, 14 Jan 2015 16:10:45 +0000 Subject: [PATCH] Fix if expression --- bin/blackbox_edit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/blackbox_edit b/bin/blackbox_edit index 06324ee..c9a06ac 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*)