summaryrefslogtreecommitdiff
path: root/src/core/execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-08 19:41:27 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-20 20:00:09 +0100
commit710028b473c39446954b72c0d9dadb76cc7f81f8 (patch)
treebfb8e0d16c2a7f4c3bace6a1772f10c6dfffbd0c /src/core/execute.h
parentffeb828596ebc9e5b20333c72862569b8b0875ad (diff)
core: modernize the SwitchRoot() bus method a bit
Let's more verbose error messages when validating the input parameters fails. Also, call path_is_os_tree() properly, as it doesn't return a boolean, but possibly also an error. Finally, check for the existance of the new init process with chase_symlinks() to properly handle possible symlinks on the init binary (which might actually be pretty likely).
Diffstat (limited to 'src/core/execute.h')
0 files changed, 0 insertions, 0 deletions