summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-08-21 18:10:39 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2019-08-21 18:13:17 -0400
commit56b78c72f3f48fcfc8c13199d022dd624ccf9197 (patch)
tree6f7b15ff6838e9b5c90f9ac16e7d68b92d011810 /cmd/podman
parent1ff984d509b85d9ededeb5c609bff01210512891 (diff)
downloadpodman-56b78c72f3f48fcfc8c13199d022dd624ccf9197.tar.gz
podman-56b78c72f3f48fcfc8c13199d022dd624ccf9197.tar.bz2
podman-56b78c72f3f48fcfc8c13199d022dd624ccf9197.zip
Need to include command name in error message
I hit this error and it told be to system migrate` as opposed to `podman system migrate` Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/main_local.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/main_local.go b/cmd/podman/main_local.go
index 587c8260f..648dc166e 100644
--- a/cmd/podman/main_local.go
+++ b/cmd/podman/main_local.go
@@ -140,7 +140,7 @@ func setupRootless(cmd *cobra.Command, args []string) error {
became, ret, err := rootless.TryJoinFromFilePaths("", false, []string{pausePidPath})
if err != nil {
logrus.Errorf("cannot join pause process. You may need to remove %s and stop all containers", pausePidPath)
- logrus.Errorf("you can use `system migrate` to recreate the pause process")
+ logrus.Errorf("you can use `%s system migrate` to recreate the pause process", os.Args[0])
logrus.Errorf(err.Error())
os.Exit(1)
}