forked from security/hakurei
Remove special case and invoke hakurei out of process. Signed-off-by: Ophestra <cat@gensokyo.uk>
21 lines
302 B
Go
21 lines
302 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"path"
|
|
)
|
|
|
|
const compPoison = "INVALIDINVALIDINVALIDINVALIDINVALID"
|
|
|
|
var (
|
|
hmain = compPoison
|
|
)
|
|
|
|
func mustCheckPath(p string) string {
|
|
if p != compPoison && p != "" && path.IsAbs(p) {
|
|
return p
|
|
}
|
|
log.Fatal("this program is compiled incorrectly")
|
|
return compPoison
|
|
}
|