From b41a0f839b87545ac4db6322b2aa1a3ae168bce6 Mon Sep 17 00:00:00 2001 From: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com> Date: Sun, 3 May 2026 17:41:21 +0200 Subject: [PATCH] style: use modern octal literal (#2568) --- os.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os.go b/os.go index 27076063..39eb93d7 100644 --- a/os.go +++ b/os.go @@ -119,7 +119,7 @@ func init() { runtimeDir := os.Getenv("XDG_RUNTIME_DIR") if runtimeDir == "" { runtimeDir = filepath.Join(os.TempDir(), fmt.Sprintf("lf-%s", gUser.Uid)) - if err := os.MkdirAll(runtimeDir, 0700); err != nil { + if err := os.MkdirAll(runtimeDir, 0o700); err != nil { log.Fatalf("creating runtime dir: %s", err) } st, err := os.Stat(runtimeDir)