[dak/master] its true damnit
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
scripts/debian/buildd-remove-keys | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/debian/buildd-remove-keys b/scripts/debian/buildd-remove-keys
index 180f1f2..0ea4c23 100755
--- a/scripts/debian/buildd-remove-keys
+++ b/scripts/debian/buildd-remove-keys
@@ -172,7 +172,7 @@ for file in $(ls -1 ${INCOMING}/*.del ); do
ARCHKEYRING="${base}/${ARCH}/keyring.gpg"
# Is the key in there?
- KEYNO=$(gpg ${DEFGPGOPT} --keyring "${ARCHKEYRING}" --with-colons --list-keys ${KEYID} | grep -c '^pub:')
+ KEYNO=$(gpg ${DEFGPGOPT} --keyring "${ARCHKEYRING}" --with-colons --list-keys ${KEYID} | grep -c '^pub:' || /bin/true )
if [ $KEYNO -eq 1 ]; then
# Right, exactly one there, lets get rid of it
--
1.7.2.5
Reply to: