about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--cmd/ghabilling/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/ghabilling/main.go b/cmd/ghabilling/main.go
index bb5f41a..4865a4a 100644
--- a/cmd/ghabilling/main.go
+++ b/cmd/ghabilling/main.go
@@ -57,6 +57,7 @@ func main() {
 
 	if tokenFlag == "" {
 		fmt.Fprintf(os.Stderr, "The API token is not set\n")
+		os.Exit(1)
 	}
 
 	ctx := context.TODO()