diff --git a/mesheryctl/pkg/utils/helpers.go b/mesheryctl/pkg/utils/helpers.go index acf42c65e0b..a26d89257cb 100644 --- a/mesheryctl/pkg/utils/helpers.go +++ b/mesheryctl/pkg/utils/helpers.go @@ -547,7 +547,10 @@ func ClearLine() { clearCmd = exec.Command("cmd", "/c", "cls") // for Windows } clearCmd.Stdout = os.Stdout - clearCmd.Run() + err := clearCmd.Run() + if err != nil { + log.Fatal(err) + } } // StringContainedInSlice returns the index in which a string is a substring in a list of strings