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
pull/19665/head
Guillaume Ballet 6 years ago committed by Péter Szilágyi
parent de38a1dbd4
commit d97f0372b1
  1. 2
      cmd/utils/flags.go

@ -1161,7 +1161,7 @@ func setSmartCard(ctx *cli.Context, cfg *node.Config) {
// Sanity check that the smartcard path is valid
fi, err := os.Stat(path)
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
}
if fi.Mode()&os.ModeType != os.ModeSocket {

Loading…
Cancel
Save