Unverified Commit 330d1172 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] abort if cannot acquire pid

parent 00d9cdd2
...@@ -58,8 +58,7 @@ func initializeBitmask(errCh chan string, opts *InitOpts) { ...@@ -58,8 +58,7 @@ func initializeBitmask(errCh chan string, opts *InitOpts) {
err := pid.AcquirePID() err := pid.AcquirePID()
if err != nil { if err != nil {
log.Println("Error acquiring PID:", err) log.Println("Error acquiring PID:", err)
errCh <- err.Error() log.Fatal(err.Error())
return
} }
b, err := bitmask.InitializeBitmask(ctx.cfg) b, err := bitmask.InitializeBitmask(ctx.cfg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment