exec shell: on error show a status message instead of fatal exit

This commit is contained in:
Sergey Ponomarev 2020-11-20 10:33:44 +02:00
parent 7679d4a7fd
commit 83a422933a

View File

@ -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