diff options
| author | historia <[not public]> | 2026-10-03 07:11:58 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-03 07:11:58 -0400 |
| commit | 0fb83bdf433b9b48240f4ac7a5d4c912f6b808cc (patch) | |
| tree | ac0af51cc2513b1ddd8a280f360af820d1f097af /cmd | |
| parent | 6232d41e5639f9c38e47b2bb65266e343ca26e8f (diff) | |
| download | thehouseoficarus-0fb83bdf433b9b48240f4ac7a5d4c912f6b808cc.tar.gz | |
feat: added big 6 wheel to the casino
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/thoi/main.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/thoi/main.go b/cmd/thoi/main.go index 5b27439..7beb041 100644 --- a/cmd/thoi/main.go +++ b/cmd/thoi/main.go @@ -6,6 +6,7 @@ import ( "log" "os" "os/signal" + "path/filepath" "syscall" "time" @@ -24,6 +25,11 @@ func main() { if dataDir == "" { dataDir = "data" } + dataDir, err := filepath.Abs(dataDir) + if err != nil { + log.Fatalf("failed to resolve data directory: %v", err) + } + log.Printf("Data directory: %s (PID %d)", dataDir, os.Getpid()) cfg, err := config.Load(*configPath) if err != nil { |
