mirror of
https://github.com/fankes/komari-agent.git
synced 2025-10-18 18:49:23 +08:00
fix: 修改退出代码为42,以符合程序约定
This commit is contained in:
@@ -62,6 +62,6 @@ func CheckAndUpdate() error {
|
||||
// return fmt.Errorf("failed to restart program: %v", err)
|
||||
// }
|
||||
fmt.Printf("Successfully updated to version %s\n", latest.Version)
|
||||
os.Exit(0)
|
||||
os.Exit(42)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user