summaryrefslogtreecommitdiffstats
path: root/src/ceph_fuse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ceph_fuse.cc')
-rw-r--r--src/ceph_fuse.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc
index 05a4f3f9da9..35e3509bf70 100644
--- a/src/ceph_fuse.cc
+++ b/src/ceph_fuse.cc
@@ -79,9 +79,11 @@ int main(int argc, const char **argv, const char *envp[]) {
}
env_to_vec(args);
- std::vector<const char*> def_args{"--pid-file="};
+ std::map<std::string,std::string> defaults = {
+ { "pid_file", "" }
+ };
- auto cct = global_init(&def_args, args, CEPH_ENTITY_TYPE_CLIENT,
+ auto cct = global_init(&defaults, args, CEPH_ENTITY_TYPE_CLIENT,
CODE_ENVIRONMENT_DAEMON,
CINIT_FLAG_UNPRIVILEGED_DAEMON_DEFAULTS);