diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2023-10-19 04:34:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-19 04:34:45 +0200 |
| commit | 29d98777cb69e94fe3c2beb5131e1550f81b700f (patch) | |
| tree | aa31e736906e7f01970d55822c084422688f241d /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 2dd1c8f693f5cc0cb75e151045bfe3f429ff8db4 (diff) | |
| parent | 6ab84b5895ad6b5fb09b929076a3c6dd93a82d8e (diff) | |
| download | rust-29d98777cb69e94fe3c2beb5131e1550f81b700f.tar.gz rust-29d98777cb69e94fe3c2beb5131e1550f81b700f.zip | |
Rollup merge of #116761 - Nilstrieb:podman, r=cuviper
Fix podman detection in CI scripts
When docker-podman compat was set up in a way that causes "docker" to be the argv[0] of podman, the previous detection did not work. This was for example the case in the compat package from nixpkgs.
This checks the output and should work everywhere.
I tested it locally by executing
```sh
if [[ "$id" != 0 && "$(docker version)" =~ Podman ]]; then
echo yes
else
echo no
fi
```
which printed `no` before, and `yes` now.
fixes #113129
r? cuviper
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
