forked from security/hakurei
cmd/sharefs: expand fuse_main
This change should not change behaviour other than making output more consistent. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
"path"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// executableName is the [path.Base] name of the executable that started the current process.
|
||||
@@ -19,7 +18,6 @@ var executableName = func() string {
|
||||
}()
|
||||
|
||||
func main() {
|
||||
runtime.LockOSThread()
|
||||
log.SetFlags(0)
|
||||
log.SetPrefix(executableName + ": ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user