wrong return var
This commit is contained in:
parent
62e2d64ff9
commit
99eded5398
1
cmd.go
1
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
|
// Block waiting for command to exit, be stopped, or be killed
|
||||||
finalStatus := <-statusChan
|
finalStatus := <-statusChan
|
||||||
|
return findCmd.Status()
|
||||||
return finalStatus
|
return finalStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue