diff options
-rw-r--r-- | src/rhctl/audio_switch.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhctl/audio_switch.go b/src/rhctl/audio_switch.go index 0f89ee7..8c698b4 100644 --- a/src/rhctl/audio_switch.go +++ b/src/rhctl/audio_switch.go @@ -150,6 +150,7 @@ func (sw *AudioSwitch) updateStateGPI(data string) { sw.state.GPI[in] = true default: rhl.Printf("Audioswitch: invalid gpi status update (state must be either '1' or '0' but is '%s')", data[7:8]) + return } sw.StateChanges <- sw.state return |