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:
2025-12-27 02:25:18 +09:00
parent a27305cb4a
commit 6d3bd27220
4 changed files with 93 additions and 11 deletions

View File

@@ -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 + ": ")