diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hsu/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/hsu/main.go b/cmd/hsu/main.go index 5901087c..7e3b3a7b 100644 --- a/cmd/hsu/main.go +++ b/cmd/hsu/main.go @@ -8,6 +8,7 @@ import ( "log" "os" "path" + "runtime" "slices" "strconv" "strings" @@ -32,6 +33,8 @@ const ( var hakureiPath string func main() { + runtime.LockOSThread() + log.SetFlags(0) log.SetPrefix("hsu: ") log.SetOutput(os.Stderr) |
