aboutsummaryrefslogtreecommitdiff
path: root/firma
diff options
context:
space:
mode:
authorrhatto <rhatto>2007-07-11 14:43:52 +0000
committerrhatto <rhatto>2007-07-11 14:43:52 +0000
commit80ff23d3c1bab5e0a71dc76cdaea64036c7c2480 (patch)
treefa584a170e800a60157325b27abbe25d00523c97 /firma
parent21916f8c5887da7924ec0ecf67b57166a8e591cb (diff)
downloadfirma-80ff23d3c1bab5e0a71dc76cdaea64036c7c2480.tar.gz
firma-80ff23d3c1bab5e0a71dc76cdaea64036c7c2480.tar.bz2
another small fix
Diffstat (limited to 'firma')
-rwxr-xr-xfirma2
1 files changed, 1 insertions, 1 deletions
diff --git a/firma b/firma
index 13d2112..bf054eb 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
+ 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