From cc44a2c937f8a45ad3dd0df50bd5f26f68f9e34c Mon Sep 17 00:00:00 2001 From: mBaratta96 Date: Mon, 10 Jul 2023 00:21:41 +0200 Subject: [PATCH] fix: exit 0 --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 740c2a9..7c2c3e4 100644 --- a/app.go +++ b/app.go @@ -11,7 +11,7 @@ import ( func checkIndex(index int) int { if index == -1 { - os.Exit(1) + os.Exit(0) } return index }