diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-30 15:24:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 15:24:51 -0800 |
commit | 4f96b17ef58f83e58af2a8016e1acc7f68a959c7 (patch) | |
tree | a601c54632f624ce4b7d846b8c78975bce98a844 /pkg/rootless/rootless_linux.c | |
parent | a3e14c87bb15c551d58d5b4f66cdfa5b900d50f5 (diff) | |
parent | 1d9537e242798f94d8062819d5763b656dcc5acd (diff) | |
download | podman-4f96b17ef58f83e58af2a8016e1acc7f68a959c7.tar.gz podman-4f96b17ef58f83e58af2a8016e1acc7f68a959c7.tar.bz2 podman-4f96b17ef58f83e58af2a8016e1acc7f68a959c7.zip |
Merge pull request #5020 from baude/bindingtestrootless
Bindingtestrootless
Diffstat (limited to 'pkg/rootless/rootless_linux.c')
-rw-r--r-- | pkg/rootless/rootless_linux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/rootless/rootless_linux.c b/pkg/rootless/rootless_linux.c index 041a161dc..83f4f3254 100644 --- a/pkg/rootless/rootless_linux.c +++ b/pkg/rootless/rootless_linux.c @@ -200,6 +200,9 @@ can_use_shortcut () if (argv == NULL) return false; + if (strstr (argv[0], "podman") == NULL) + return false; + for (argc = 0; argv[argc]; argc++) { if (argc == 0 || argv[argc][0] == '-') |