diff --git a/cmd/headscale/cli/root.go b/cmd/headscale/cli/root.go index bd526203..52a3f1b8 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 }