From 4fa1e97026006a9b5d4e98de302256c7ae7cbad7 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 21 Feb 2025 17:50:20 +0900 Subject: cmd/fpkg: rename shell to shellPath Signed-off-by: Ophestra --- cmd/fpkg/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/fpkg/main.go') diff --git a/cmd/fpkg/main.go b/cmd/fpkg/main.go index e95a36cb..c9e68c28 100644 --- a/cmd/fpkg/main.go +++ b/cmd/fpkg/main.go @@ -9,10 +9,10 @@ import ( "git.gensokyo.uk/security/fortify/internal/fmsg" ) -const shell = "/run/current-system/sw/bin/bash" +const shellPath = "/run/current-system/sw/bin/bash" func init() { - if err := os.Setenv("SHELL", shell); err != nil { + if err := os.Setenv("SHELL", shellPath); err != nil { log.Fatalf("cannot set $SHELL: %v", err) } } -- cgit v1.3.1