]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: change mount_synthesize_root() return to int 4481/head
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Nov 2016 17:38:12 +0000 (11:38 -0600)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Nov 2016 17:39:49 +0000 (11:39 -0600)
commit1201cae704c6674fde2c23fdd7feab8493a20159
tree01f1ce620a3b5474360ff1cc6c79cb0eda6a0bf4
parentc69305ff4fe5a182cd58b66077f3db7bc7c222e1
core: change mount_synthesize_root() return to int

Let's propagate the error here, instead of eating it up early.

In a later change we should probably also change mount_enumerate() to propagate
errors up, but that would mean we'd have to change the unit vtable, and thus
change all unit types, hence is quite an invasive change.
src/core/mount.c