From: joey <> Date: Sat, 20 Nov 2004 19:11:34 +0000 (+0000) Subject: Improved error message when no key has been found X-Git-Tag: debian_userdir-ldap_0-3-8~39 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=3abfc105c07030f61283e6ce17089b1071487f10 Improved error message when no key has been found --- diff --git a/ud-useradd b/ud-useradd index 829d707..7d0730b 100755 --- a/ud-useradd +++ b/ud-useradd @@ -66,7 +66,8 @@ while (1): Keys = GPGKeySearch(Foo); if len(Keys) == 0: - print "Sorry, that search did not turn up any keys"; + print "Sorry, that search did not turn up any keys." + print "Has it been added to the Debian keyring already?" continue; if len(Keys) > 1: print "Sorry, more than one key was found, please specify the key to use by\nfingerprint:";