We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cff937 commit aa91d2bCopy full SHA for aa91d2b
cmd/limactl/main.go
@@ -83,7 +83,7 @@ func newApp() *cobra.Command {
83
formatter.ForceColors = true
84
logrus.StandardLogger().SetFormatter(formatter)
85
}
86
- if os.Geteuid() == 0 {
+ if os.Geteuid() == 0 && cmd.Name() != "generate-man" {
87
return errors.New("must not run as the root")
88
89
// Make sure either $HOME or $LIMA_HOME is defined, so we don't need
0 commit comments