diff options
author | Kim <kim.sidney@gmail.com> | 2017-10-25 22:56:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-25 22:56:54 +0200 |
commit | 83d46a299f26f3c1f5f7c2f73d0e0b8d4d4d6475 (patch) | |
tree | aab60712d17a4482c66a98c621744771ca411e6a /src | |
parent | 512e68c8161d1ccbd4ff819d9b1d622fee650215 (diff) | |
download | vyatta-cfg-83d46a299f26f3c1f5f7c2f73d0e0b8d4d4d6475.tar.gz vyatta-cfg-83d46a299f26f3c1f5f7c2f73d0e0b8d4d4d6475.zip |
try not to tear down session on boot
Diffstat (limited to 'src')
-rw-r--r-- | src/cstore/unionfs/cstore-unionfs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.cpp b/src/cstore/unionfs/cstore-unionfs.cpp index a990f03..b42e8c8 100644 --- a/src/cstore/unionfs/cstore-unionfs.cpp +++ b/src/cstore/unionfs/cstore-unionfs.cpp @@ -447,7 +447,7 @@ UnionfsCstore::setupSession() // remove old config session directories but only for the current user - if (directory_uid == current_uid) { + if (directory_uid == current_uid && (directory_uid != 0 ) { string config_match = work_base.path_cstr() + std::string("/new_config_"); string current_path = directories[i].path_cstr(); |