diff options
author | rhatto <rhatto> | 2007-07-11 14:49:09 +0000 |
---|---|---|
committer | rhatto <rhatto> | 2007-07-11 14:49:09 +0000 |
commit | b2b8d4d3afe0d971235e21158cdc6a7a078a1e0a (patch) | |
tree | f4ddd6d512dbfc4425aa300aee4ee1087fa5ec32 | |
parent | 80ff23d3c1bab5e0a71dc76cdaea64036c7c2480 (diff) | |
download | firma-b2b8d4d3afe0d971235e21158cdc6a7a078a1e0a.tar.gz firma-b2b8d4d3afe0d971235e21158cdc6a7a078a1e0a.tar.bz2 |
another small fix :/
-rwxr-xr-x | firma | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |