From 542012658caafb15255f89c8e78468bb93da3c7a Mon Sep 17 00:00:00 2001 From: joey <> Date: Sat, 20 Nov 2004 19:10:18 +0000 Subject: [PATCH] Exit if no GnuPG key has been entered --- ud-useradd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ud-useradd b/ud-useradd index a7b5f39..829d707 100755 --- a/ud-useradd +++ b/ud-useradd @@ -61,7 +61,7 @@ SetKeyrings(["/org/keyring.debian.org/keyrings/debian-keyring.gpg"]) while (1): Foo = raw_input("Who are you going to add (for a GPG search)? "); if Foo == "": - continue; + sys.exit(0); Keys = GPGKeySearch(Foo); -- 2.20.1