From 59c112e2c2b5c3199b87c634a72e712f98853b64 Mon Sep 17 00:00:00 2001 From: smiley <93072266+dmur1@users.noreply.github.com> Date: Wed, 9 Apr 2025 11:48:43 +0100 Subject: [PATCH] return before starting the spinner in ctftime if there are no urls --- commands/ctftime.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/ctftime.go b/commands/ctftime.go index 749f149..dcda7ac 100644 --- a/commands/ctftime.go +++ b/commands/ctftime.go @@ -144,6 +144,10 @@ func CtfTime(args []string) { return } + if len(config.CtfTimeUrls) == 0 { + return + } + go ctftimeSpinner() infos := make([]CTFTimeInfo, len(config.CtfTimeUrls))