Commit d97f0372 authored by Guillaume Ballet's avatar Guillaume Ballet Committed by Péter Szilágyi

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
parent de38a1db
...@@ -1161,7 +1161,7 @@ func setSmartCard(ctx *cli.Context, cfg *node.Config) { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment