From bf303ed471fb117433332f42ebd7a8cece518d69 Mon Sep 17 00:00:00 2001 From: Alex X Date: Thu, 6 Jun 2024 17:58:31 +0300 Subject: [PATCH] Fix -d flag --- internal/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/app.go b/internal/app/app.go index 9331f041..1d63a2c8 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -53,7 +53,7 @@ func Init() { args := os.Args[1:] for i, arg := range args { - if arg == "-daemon" { + if arg == "-daemon" || arg == "-d" { args[i] = "" } }