aboutsummaryrefslogtreecommitdiffstats
path: root/key2root-rmkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'key2root-rmkey.c')
-rw-r--r--key2root-rmkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/key2root-rmkey.c b/key2root-rmkey.c
index f44cf06..4e5fa1e 100644
--- a/key2root-rmkey.c
+++ b/key2root-rmkey.c
@@ -199,7 +199,7 @@ main(int argc, char *argv[])
out:
for (i = 0; i < nkeys; i++)
fprintf(stderr, "%s: key not found for %s: %s\n", argv0, user, keys[i]);
- failed |= !nkeys;
+ failed |= nkeys > 0;
if (nkeys != (size_t)argc) {
if (!data_len) {