Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve auth code check exit code

Daniel2bf5bb50c26d
diff --git a/kernel/util/working.go b/kernel/util/working.go
index bc6001ecb8..c0291ec7aa 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)
}
}
}