diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-07-13 14:15:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 14:15:54 -0400 |
commit | 673465a7475f2c4ed6bfe06c481ecc99a2510c30 (patch) | |
tree | 9552b4b7e5956fbb798bf9d77820c7d30035a8c3 /pkg/rootless/rootless_linux.c | |
parent | 827359c8e6b116b839a95460cc1775a11f84b682 (diff) | |
parent | 62e48e5b71abe3002361bbf018961f8031fba03e (diff) | |
download | podman-673465a7475f2c4ed6bfe06c481ecc99a2510c30.tar.gz podman-673465a7475f2c4ed6bfe06c481ecc99a2510c30.tar.bz2 podman-673465a7475f2c4ed6bfe06c481ecc99a2510c30.zip |
Merge pull request #1075 from giuseppe/rootless-no-symlinks-into-storage-path
rootless: fix usage on Fedora Silverblue/CoreOS
Diffstat (limited to 'pkg/rootless/rootless_linux.c')
-rw-r--r-- | pkg/rootless/rootless_linux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/rootless/rootless_linux.c b/pkg/rootless/rootless_linux.c index f2684f75f..d08c6c875 100644 --- a/pkg/rootless/rootless_linux.c +++ b/pkg/rootless/rootless_linux.c @@ -105,16 +105,16 @@ reexec_in_user_namespace(int ready) ret = read (ready, &b, 1) < 0; while (ret < 0 && errno == EINTR); if (ret < 0) - _exit (1); + _exit (EXIT_FAILURE); close (ready); if (setresgid (0, 0, 0) < 0 || setresuid (0, 0, 0) < 0) - _exit (1); + _exit (EXIT_FAILURE); execvp (argv[0], argv); - _exit (1); + _exit (EXIT_FAILURE); } int |