From 83d46a299f26f3c1f5f7c2f73d0e0b8d4d4d6475 Mon Sep 17 00:00:00 2001 From: Kim Date: Wed, 25 Oct 2017 22:56:54 +0200 Subject: try not to tear down session on boot --- src/cstore/unionfs/cstore-unionfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3