mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 11:36:37 +00:00
accounts/scwallet: don't error when pcsc socket is missing (#19662)
* scwallet: don't error when pcsc socket is missing * review feedback * more review feedback
This commit is contained in:
parent
de38a1dbd4
commit
d97f0372b1
1 changed files with 1 additions and 1 deletions
|
|
@ -1161,7 +1161,7 @@ func setSmartCard(ctx *cli.Context, cfg *node.Config) {
|
||||||
// Sanity check that the smartcard path is valid
|
// Sanity check that the smartcard path is valid
|
||||||
fi, err := os.Stat(path)
|
fi, err := os.Stat(path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Failed to verify smartcard daemon path", "path", path, "err", err)
|
log.Info("Smartcard socket not found, disabling", err", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if fi.Mode()&os.ModeType != os.ModeSocket {
|
if fi.Mode()&os.ModeType != os.ModeSocket {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue