cmd/fpkg: rename shell to shellPath
All checks were successful
Test / Create distribution (push) Successful in 25s
Test / Run NixOS test (push) Successful in 3m26s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-21 17:50:20 +09:00
parent 64b6dc41ba
commit 4fa1e97026
3 changed files with 6 additions and 6 deletions

View File

@@ -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)
}
}