aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-06-04 11:51:29 -0700
committerMatthew Heon <mheon@redhat.com>2020-06-24 14:41:09 -0400
commit61bd645732225ebe563ad8628a2279b5e226a278 (patch)
tree0fe933786a23fd17ef70eeb74833bae59ff8c213 /cmd/podman/main.go
parentf81ad0058c684879af0f5e2c26e120013ac335aa (diff)
downloadpodman-61bd645732225ebe563ad8628a2279b5e226a278.tar.gz
podman-61bd645732225ebe563ad8628a2279b5e226a278.tar.bz2
podman-61bd645732225ebe563ad8628a2279b5e226a278.zip
V2 podman system connection
* Implement command * Refactor podman-remote to pull from containers.conf by default * podman-remote defaults to --remote being true * Write podman-system-connection.1.md Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 76ec7bc8e..f502e7a67 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -35,7 +35,7 @@ func main() {
_, found := c.Command.Annotations[registry.ParentNSRequired]
if rootless.IsRootless() && found {
c.Command.RunE = func(cmd *cobra.Command, args []string) error {
- return fmt.Errorf("cannot `%s` in rootless mode", cmd.CommandPath())
+ return fmt.Errorf("cannot run command %q in rootless mode", cmd.CommandPath())
}
}