mirror of
https://github.com/rwinkhart/go-boilerplate.git
synced 2026-09-05 16:47:20 -04:00
Always hard exit in PrintError(); do not pointlessly return the error code in soft exit
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user