Skip to content

Commit

Permalink
FIX implant generation with locale limit not compiling when not in de…
Browse files Browse the repository at this point in the history
…bug mode
  • Loading branch information
smeukinou committed May 5, 2023
1 parent b720653 commit 2f9c84c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion implant/sliver/limits/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ func ExecLimits() {
} else {
log.Printf("LimitLocale regexp %#v does not match %#v", `{{.Config.LimitLocale}}`, locale)
}
// {{else}}
_ = err
// {{end}}
os.Exit(1)
}
}
// {{end}}

// {{if .Config.Debug}}
Expand Down

0 comments on commit 2f9c84c

Please sign in to comment.