aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmd/fpkg/proc.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/cmd/fpkg/proc.go b/cmd/fpkg/proc.go
index 4413496a..538c5ed4 100644
--- a/cmd/fpkg/proc.go
+++ b/cmd/fpkg/proc.go
@@ -13,18 +13,12 @@ import (
"git.gensokyo.uk/security/fortify/internal/fmsg"
)
-const compPoison = "INVALIDINVALIDINVALIDINVALIDINVALID"
-
-var (
- Fmain = compPoison
-)
-
func fortifyApp(config *fst.Config, beforeFail func()) {
var (
cmd *exec.Cmd
st io.WriteCloser
)
- if p, ok := internal.Path(Fmain); !ok {
+ if p, ok := internal.Path(internal.Fortify); !ok {
beforeFail()
log.Fatal("invalid fortify path, this copy of fpkg is not compiled correctly")
} else if r, w, err := os.Pipe(); err != nil {