diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-19 17:35:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 17:35:43 +0200 |
commit | 5f5d40084c71a5adabc029c97d682c33cab07353 (patch) | |
tree | 1ad481a8d7d177ad6f1f1fffbddf21c5e7b72ff5 /pkg/rootless/rootless_linux.c | |
parent | 541655f31a5301ea042d04782d1635ad51e9f434 (diff) | |
parent | 3508bd22fe355630453d497d905e480974a84b96 (diff) | |
download | podman-5f5d40084c71a5adabc029c97d682c33cab07353.tar.gz podman-5f5d40084c71a5adabc029c97d682c33cab07353.tar.bz2 podman-5f5d40084c71a5adabc029c97d682c33cab07353.zip |
Merge pull request #15072 from rhatdan/context
Add support for podman context as alias to podman system connection
Diffstat (limited to 'pkg/rootless/rootless_linux.c')
-rw-r--r-- | pkg/rootless/rootless_linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/rootless/rootless_linux.c b/pkg/rootless/rootless_linux.c index 3588313c6..fb22ed221 100644 --- a/pkg/rootless/rootless_linux.c +++ b/pkg/rootless/rootless_linux.c @@ -235,6 +235,7 @@ can_use_shortcut () if (strcmp (argv[argc], "mount") == 0 || strcmp (argv[argc], "machine") == 0 + || strcmp (argv[argc], "context") == 0 || strcmp (argv[argc], "search") == 0 || (strcmp (argv[argc], "system") == 0 && argv[argc+1] && strcmp (argv[argc+1], "service") != 0)) { |