From 83a422933a4648b3e24f71b0c530511a30fca5d4 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Fri, 20 Nov 2020 10:33:44 +0200 Subject: [PATCH] exec shell: on error show a status message instead of fatal exit --- menus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menus.go b/menus.go index 7c79285..d73f059 100644 --- a/menus.go +++ b/menus.go @@ -361,7 +361,7 @@ func ExecShell() MenuFn { shell := config.GetVal("shell") if err := c.Exec([]string{shell, "-c", "printf '\\e[0m\\e[?25h' && clear && " + shell}); err != nil { - log.Fatal(err) + log.StatusErr(err) } return nil