Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnetwork/rootlessnetns: do not cleanup twice in Run()
This here just logs unnecessary errors in case there is an error during the Run() call (podman unshare --rootless-netns). runInner() will already call cleanup on errors if it created a new netns so we only need to cleanup when there is no error. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information