summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/lldp-neighbor.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-08-25 17:30:47 +0200
committerDjalal Harouni <tixxdz@opendz.org>2016-09-25 10:42:18 +0200
commit1e4e94c8819e2fe3a7217690c0590dba8ab0be9e (patch)
tree0757abb0cbf7672a2d80298ff20facdc257fd3ed /src/libsystemd-network/lldp-neighbor.c
parent096424d1230e0a0339735c51b43949809e972430 (diff)
namespace: invoke unshare() only after checking all parameters
Let's create the new namespace only after we validated and processed all parameters, right before we start with actually mounting things. This way, the window where we can roll back is larger (not that it matters IRL...)
Diffstat (limited to 'src/libsystemd-network/lldp-neighbor.c')
0 files changed, 0 insertions, 0 deletions