diff options
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r-- | cmd/podman/main.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go index 8ee86dd92..f936a332f 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -75,10 +75,14 @@ func main() { topCommand, umountCommand, unpauseCommand, - varlinkCommand, versionCommand, waitCommand, } + + if varlinkCommand != nil { + app.Commands = append(app.Commands, *varlinkCommand) + } + app.Before = func(c *cli.Context) error { logLevel := c.GlobalString("log-level") if logLevel != "" { |