From 99eded53985df3d7926486b32edaf530346b85e4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 7 Dec 2024 16:49:40 -0600 Subject: [PATCH] wrong return var --- cmd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd.go b/cmd.go index f58bf25..c3a861a 100644 --- a/cmd.go +++ b/cmd.go @@ -210,6 +210,7 @@ func PathRunRealtime(pwd string, args []string) cmd.Status { // Block waiting for command to exit, be stopped, or be killed finalStatus := <-statusChan + return findCmd.Status() return finalStatus }