actions: fix renaming pubkeys

This commit is contained in:
Mirek Kratochvil 2013-04-23 21:00:41 +02:00
parent 542bf554fa
commit 6e3bfbe6d3

View file

@ -1159,7 +1159,7 @@ int action_rename (bool yes,
const std::string & filter, const std::string & name,
keyring & KR)
{
if (name.length() ) {
if (!name.length() ) {
err ("error: missing new name specification");
return 1;
}