diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 00:59:03 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 00:59:03 -0500 |
commit | a7d9d68be60e5d46c016806a47227cd2f2e5a6c7 (patch) | |
tree | 93259f1aceeebd54b3c70aef76b44604aad7ab19 /src/share/ma/add_certifier | |
parent | d09b0814096b1660c3a300e939091a58622a57a6 (diff) | |
parent | 68299f9faebcf3c54382aca3d662b35172f6a968 (diff) |
Merge commit 'dkg/master'
Diffstat (limited to 'src/share/ma/add_certifier')
-rw-r--r-- | src/share/ma/add_certifier | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/ma/add_certifier b/src/share/ma/add_certifier index 2f29759..b917a74 100644 --- a/src/share/ma/add_certifier +++ b/src/share/ma/add_certifier @@ -84,7 +84,8 @@ if [ -f "$keyID" ] ; then # + failure 'could not read key from '\''/root/dkg.gpg'\''' # + echo 'could not read key from '\''/root/dkg.gpg'\''' - keyID=$(echo "$importinfo" | grep '^gpg: key ' | cut -f2 -d: | cut -f3 -d\ ) + keyID=$(echo "$importinfo" | grep '^gpg: key ' | cut -f2 -d: | cut -f3 -d\ ) || \ + failure "There were no gpg keys in the file $keyID." if [ -z "$keyID" ] || [ $(echo "$keyID" | wc -l) -ne 1 ] ; then failure "There was not exactly one gpg key in the file." fi |