mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
device: return errors from ipc scanner
The code as written will drop any read errors on the floor. Fix that. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
parent
fcc8ad05df
commit
675aae2423
@ -393,7 +393,7 @@ func (device *Device) IpcSetOperation(r io.Reader) error {
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
return scanner.Err()
|
||||
}
|
||||
|
||||
func (device *Device) IpcGet() (string, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user