]> git.ipfire.org Git - thirdparty/systemd.git/commit
namespace: fix wrong return value from mount(2) (#3758)
authorTopi Miettinen <topimiettinen@users.noreply.github.com>
Wed, 20 Jul 2016 14:43:21 +0000 (14:43 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Wed, 20 Jul 2016 14:43:21 +0000 (17:43 +0300)
commit176e51b7102d7bba875e58b85b59e2ed7e30bc89
tree8795ddee65a2faa8e0b9e8edf1605307167c5e9f
parent01a326affde96a8b97ac3a250e9168224508bf0b
namespace: fix wrong return value from mount(2) (#3758)

Fix bug introduced by #3263: mount(2) return value is 0 or -1, not errno.

Thanks to Evgeny Vereshchagin (@evverx) for reporting.
src/core/namespace.c