aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg/main.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-21 17:50:20 +0900
committerOphestra <cat@gensokyo.uk>2025-02-21 17:50:20 +0900
commit4fa1e97026006a9b5d4e98de302256c7ae7cbad7 (patch)
tree929c0cdc10cbb58933ebbdd87d0cd5407dcf8b29 /cmd/fpkg/main.go
parent64b6dc41ba76fca1656374775f5fa57c4b6b39f1 (diff)
cmd/fpkg: rename shell to shellPath
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/fpkg/main.go')
-rw-r--r--cmd/fpkg/main.go4
1 files changed, 2 insertions, 2 deletions
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)
}
}