From eb767e7642ccd581c9b29303f5e7e3b2adc87c09 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Fri, 25 Oct 2024 16:12:18 +0900 Subject: [PATCH] app/start: cleaner command not found message Signed-off-by: Ophestra Umiker --- internal/app/start.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/app/start.go b/internal/app/start.go index 719343f..49a4678 100644 --- a/internal/app/start.go +++ b/internal/app/start.go @@ -35,8 +35,8 @@ func (a *app) Start() error { if s, err := exec.LookPath(n); err == nil { shimExec[i] = s } else { - return fmsg.WrapErrorSuffix(err, - fmt.Sprintf("cannot find %q:", n)) + return fmsg.WrapError(err, + fmt.Sprintf("executable file %q not found in $PATH", n)) } } }