emerge-webrsync: exit if "gpg binary not found"
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sat, 17 Sep 2011 17:32:25 +0000 (10:32 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 17 Sep 2011 17:32:25 +0000 (10:32 -0700)
This prevents an endless loop (bug #383375).

bin/emerge-webrsync

index d933871e04dc447373bd2f7bcbf5038323ec1f55..60e611806f4c26d40bc964ee03b6e0b06bdfe316 100755 (executable)
@@ -157,6 +157,7 @@ check_file_signature() {
                        gpg --homedir "${PORTAGE_GPG_DIR}" --verify "$signature" "$file" && r=0
                else
                        eecho "cannot check signature: gpg binary not found"
+                       exit 1
                fi
        else
                r=0