aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/hsu/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hsu/main.go')
-rw-r--r--cmd/hsu/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hsu/main.go b/cmd/hsu/main.go
index cefcad48..28571b9b 100644
--- a/cmd/hsu/main.go
+++ b/cmd/hsu/main.go
@@ -41,7 +41,7 @@ func main() {
log.Fatalf("cannot read parent executable path: %v", err)
} else if strings.HasSuffix(p, " (deleted)") {
log.Fatal("hakurei executable has been deleted")
- } else if p != mustCheckPath(hmain) && p != mustCheckPath(fpkg) {
+ } else if p != mustCheckPath(hmain) {
log.Fatal("this program must be started by hakurei")
} else {
toolPath = p