From 45fa8a0124394a2fbf2ff11f92c1cb7a338ef1f1 Mon Sep 17 00:00:00 2001 From: Shane C Date: Thu, 19 Sep 2024 11:05:25 -0400 Subject: [PATCH] add break --- linux/run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/run.go b/linux/run.go index c9b5876..c11c461 100644 --- a/linux/run.go +++ b/linux/run.go @@ -43,6 +43,7 @@ func (cmd *LinuxCommand) AddHandler(handler interface{}) error { break case func(data EventExitData) error: cmd.handlers[EventExit] = h + break default: return ErrInvalidHandler }