From b2b8d4d3afe0d971235e21158cdc6a7a078a1e0a Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 11 Jul 2007 14:49:09 +0000 Subject: another small fix :/ --- firma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firma') diff --git a/firma b/firma index bf054eb..9ff8dda 100755 --- 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 + elif [ -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 -- cgit v1.2.3