From af9f47b92a7766c853d6cafb275a176c0789a144 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 7 Jan 2016 15:46:14 +0100 Subject: exit if recv is empty --- get-signers | 3 +++ 1 file changed, 3 insertions(+) (limited to 'get-signers') diff --git a/get-signers b/get-signers index e9ea32f..fc13c54 100755 --- a/get-signers +++ b/get-signers @@ -45,6 +45,9 @@ while [ "$depth" -gt 0 ]; do touch "$tmpdir/$k" fi done + if [ -z "$recv" ] ; then + break + fi gpg --recv-keys $recv -- cgit v1.2.3