cmd/root: Style fix
Fallout from 8bc0018eaa
https://github.com/containers/toolbox/pull/797
This commit is contained in:
parent
fb411796bf
commit
df620b8c89
1 changed files with 1 additions and 3 deletions
|
@ -95,8 +95,6 @@ func init() {
|
|||
}
|
||||
|
||||
func preRun(cmd *cobra.Command, args []string) error {
|
||||
var toolboxPath string
|
||||
|
||||
cmd.Root().SilenceUsage = true
|
||||
|
||||
if err := setUpLoggers(); err != nil {
|
||||
|
@ -127,7 +125,7 @@ func preRun(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
}
|
||||
|
||||
toolboxPath = os.Getenv("TOOLBOX_PATH")
|
||||
toolboxPath := os.Getenv("TOOLBOX_PATH")
|
||||
|
||||
if toolboxPath == "" {
|
||||
if utils.IsInsideContainer() {
|
||||
|
|
Loading…
Reference in a new issue