diff --git a/cmd/headscale/cli/root.go b/cmd/headscale/cli/root.go index bd52620..52a3f1b 100644 --- a/cmd/headscale/cli/root.go +++ b/cmd/headscale/cli/root.go @@ -15,7 +15,7 @@ import ( var cfgFile string = "" func init() { - if len(os.Args) > 1 && os.Args[1] == "version" || os.Args[1] == "mockoidc" { + if len(os.Args) > 1 && (os.Args[1] == "version" || os.Args[1] == "mockoidc") { return }