Only show hints about an empty cert store if it is indeed empty.
- Fixes ebef0cf9ee
.
- See #501.
This commit is contained in:
parent
4df20e9b9a
commit
ca3b953bd3
@ -404,7 +404,7 @@ pub fn authenticate<'store, 'rstore>(
|
||||
.sq().arg("network").arg("search")
|
||||
.arg(pattern)
|
||||
.done();
|
||||
} else {
|
||||
} else if n.iter_fingerprints().next().is_none() {
|
||||
weprintln!("The certificate store does not contain any \
|
||||
certificates.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user