Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
leap
bitmask-vpn
Commits
330d1172
Unverified
Commit
330d1172
authored
Jun 01, 2021
by
Kali Kaneko
Browse files
[bug] abort if cannot acquire pid
parent
00d9cdd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
pkg/backend/init.go
View file @
330d1172
...
...
@@ -58,8 +58,7 @@ func initializeBitmask(errCh chan string, opts *InitOpts) {
err
:=
pid
.
AcquirePID
()
if
err
!=
nil
{
log
.
Println
(
"Error acquiring PID:"
,
err
)
errCh
<-
err
.
Error
()
return
log
.
Fatal
(
err
.
Error
())
}
b
,
err
:=
bitmask
.
InitializeBitmask
(
ctx
.
cfg
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment