diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-10-25 16:12:18 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-10-25 16:12:18 +0900 |
| commit | eb767e7642ccd581c9b29303f5e7e3b2adc87c09 (patch) | |
| tree | aa86cbe078180da645b58e5907b602176e920660 /internal | |
| parent | 3bfe8dbf5db5508b2db960de27246fd80df4c523 (diff) | |
app/start: cleaner command not found message
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/app/start.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/start.go b/internal/app/start.go index 719343fe..49a4678a 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)) } } } |
