]> gitweb.fluxo.info Git - firma.git/commitdiff
another small fix
authorrhatto <rhatto>
Wed, 11 Jul 2007 14:43:52 +0000 (14:43 +0000)
committerrhatto <rhatto>
Wed, 11 Jul 2007 14:43:52 +0000 (14:43 +0000)
firma

diff --git a/firma b/firma
index 13d2112d2db465aba326eefce8f9f71835109adc..bf054eb47ec41b4f1999ebca110acfca5a95d897 100755 (executable)
--- a/firma
+++ b/firma
@@ -183,7 +183,7 @@ function CheckListConfigFile {
   if [[ ! -d "$LIST_HOMEDIR" || ! -f "$LIST_HOMEDIR/pubring.gpg" || ! -f "$LIST_HOMEDIR/secring.gpg" ]]; then
     LogMessage "FATAL: $LIST_NAME: GPG home directory ("$LIST_HOMEDIR") or the GPG keyrings could not be found. Quitting."
     return_code=1
-  if [[ -z "$(grep -o "^PASSPHRASE='[^']*'$" $LIST_CONFIG_FILE)" ]] || ! CheckPassphrase; then
+  if [ -z "$(grep -o "^PASSPHRASE='[^']*'$" $LIST_CONFIG_FILE)" ] || ! CheckPassphrase; then
     LogMessage "FATAL: $LIST_NAME: List passphrase is empty or does not meet the minimum complexity requirements. Quitting."
     return_code=1
   elif [[ -z "$($GPG --list-secret-keys --with-colons --fixed-list-mode "<$LIST_ADDRESS>" 2> /dev/null)" ]]; then