Logo
Explore Help
Sign In
GitHubMirror/MUTN
Watch 1
Star 0
Fork 0
mirror of https://github.com/rwinkhart/MUTN.git synced 2026-08-28 21:06:39 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
83aa4ee4974c04ab87ebd1105fafe3ee31e0144d
MUTN/src/backend/exitSoft.go
T
RandyTheSilly 356d1eab4e Replace most occurrences of os.Exit(0) in the backend and sync packages with a custom backend.Exit function that can allow "soft exit" in GUI/TUI environments to avoid killing the entire process; currently all major errors still result in killing the entire process
2024-07-05 22:18:17 -04:00

8 lines
79 B
Go
Raw Blame History

//go:build returnOnExit
package backend
func Exit(code int) {
return code
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.2 Page: 788ms Template: 5ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API