install: simplify skip_root() a bit
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Apr 2016 15:58:53 +0000 (17:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2016 11:43:32 +0000 (13:43 +0200)
commit8f9364f98b3816ac90308b198030ba958757bb9b
tree935cd63bb0a70acb8c7209efae79b52d3e071694
parent2c52204c3f615df482d42e5c27d609fd8cb16a7a
install: simplify skip_root() a bit

Exit early, so that we can get rid of the large if block.
src/shared/install.c