From 84f15fa8bced2820ec9512819b83e23909902543 Mon Sep 17 00:00:00 2001 From: Tau Date: Mon, 24 Jun 2024 03:14:57 +0200 Subject: [PATCH] fix typo --- core/subSystem.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/subSystem.go b/core/subSystem.go index 56ba4990..9c224d87 100644 --- a/core/subSystem.go +++ b/core/subSystem.go @@ -64,9 +64,9 @@ func findExportedBinaries(internalName string) map[string]map[string]string { return map[string]map[string]string{} } binPath := filepath.Join(home, ".local", "bin") - if _, err := os.Stat(binDir); os.IsNotExist(err) { - return map[string]map[string]string{} - } + if _, err := os.Stat(binPath); os.IsNotExist(err) { + return map[string]map[string]string{} + } binDir := os.DirFS(binPath) binaries := map[string]map[string]string{}