From 2bf5bb50c26de177198a15e30b46c56344730ee8 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 9 Dec 2025 10:06:55 +0800 Subject: [PATCH] :art: Improve auth code check exit code Signed-off-by: Daniel <845765@qq.com> --- kernel/util/working.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/util/working.go b/kernel/util/working.go index bc6001ecb..c0291ec7a 100644 --- a/kernel/util/working.go +++ b/kernel/util/working.go @@ -140,7 +140,7 @@ func Boot() { // The access authorization code command line parameter must be set when deploying via Docker https://github.com/siyuan-note/siyuan/issues/9328 fmt.Printf("the access authorization code command line parameter (--accessAuthCode) must be set when deploying via Docker\n") fmt.Printf("or you can set the SIYUAN_ACCESS_AUTH_CODE env var") - os.Exit(1) + os.Exit(logging.ExitCodeSecurityRisk) } } }