Always hard exit in PrintError(); do not pointlessly return the error code in soft exit

This commit is contained in:
RandyTheSilly committed 2025-06-01 16:58:29 -04:00
1 parent 71b5056ca6
commit 83b0be1379
2 files changed
+5 -10

No files matched your search

+2 -2
View File
@@ -3,6 +3,6 @@
package back
// Exit (soft) is meant to be used in interactive implementations (GUIs/TUIs) to keep the program running after an operation.
func Exit(code int) int {
return code
func Exit(code int) {
return
}