cmd/root: Sprinkle a debug log
https://github.com/containers/toolbox/pull/1251
This commit is contained in:
parent
9506173f88
commit
cafbca996e
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ func migrate(cmd *cobra.Command, args []string) error {
|
|||
logrus.Debug("Migrating to newer Podman")
|
||||
|
||||
if utils.IsInsideContainer() {
|
||||
logrus.Debug("Migration not needed: running inside a container")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue