diff options
Diffstat (limited to 'internal/linux/std.go')
| -rw-r--r-- | internal/linux/std.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/linux/std.go b/internal/linux/std.go index 4850cf94..fceba95f 100644 --- a/internal/linux/std.go +++ b/internal/linux/std.go @@ -13,6 +13,7 @@ import ( "syscall" "git.gensokyo.uk/security/fortify/internal" + "git.gensokyo.uk/security/fortify/internal/fmsg" ) // Std implements System using the standard library. @@ -73,6 +74,7 @@ func (s *Std) Uid(aid int) (int, error) { u.uid = -1 if fsu, ok := internal.Check(internal.Fsu); !ok { + fmsg.BeforeExit() log.Fatal("invalid fsu path, this copy of fortify is not compiled correctly") // unreachable return 0, syscall.EBADE |
