summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-03-07 17:40:07 +0100
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:31 +0200
commit401017e04d3d1ac41fabb939278984acc8298ddb (patch)
tree80aeb83a2a2de09a351f67d2eb24251cba5fba3e /src/systemctl/systemctl.c
parenta7527131bbae88b44469a44f9d97325d70762981 (diff)
install: fix root prefix handling
Previously, we'd execute some operations with the root prefix applied, while others without (which was a bug). Clean this up: all paths are now prefixed properly with the root path, and we strip it off when necessary. (Of course, an alternative option would be to strictly pass around paths without the prefix prepended and only prepend it right before hitting the disk, however, I am came to the conclusion this would result in more code.)
Diffstat (limited to 'src/systemctl/systemctl.c')
0 files changed, 0 insertions, 0 deletions