summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-22 16:06:15 +0200
committerGitHub <noreply@github.com>2019-08-22 16:06:15 +0200
commit34002f92ffa2c71c3f5190b6b73617f14652d674 (patch)
tree23a280285acabeba7fab248b0139d466a932edc0
parent18f2328264f4dbb9a4c38ece7baae232fd391abf (diff)
parent56b78c72f3f48fcfc8c13199d022dd624ccf9197 (diff)
downloadpodman-34002f92ffa2c71c3f5190b6b73617f14652d674.tar.gz
podman-34002f92ffa2c71c3f5190b6b73617f14652d674.tar.bz2
podman-34002f92ffa2c71c3f5190b6b73617f14652d674.zip
Merge pull request #3873 from rhatdan/migrate
Need to include command name in error message
-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)
}