scwallet: don't error when pcsc socket is missing

This commit is contained in:
Guillaume Ballet 2019-06-04 16:20:40 +02:00
parent 42b81f94ad
commit d4c150f237

View file

@ -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 daemon scoket path not found, disabling", "path", path, "err", err)
return return
} }
if fi.Mode()&os.ModeType != os.ModeSocket { if fi.Mode()&os.ModeType != os.ModeSocket {