diff --git a/client/daemon/daemon.go b/client/daemon/daemon.go index 3a2616c21a4..53aaa635208 100644 --- a/client/daemon/daemon.go +++ b/client/daemon/daemon.go @@ -138,7 +138,7 @@ func New(opt *config.DaemonOption, d dfpath.Dfpath) (Daemon, error) { } // Storage.Option.DataPath is same with Daemon DataDir - opt.Storage.DataPath = d.WorkHome() + opt.Storage.DataPath = d.DataDir() storageManager, err := storage.NewStorageManager(opt.Storage.StoreStrategy, &opt.Storage, /* gc callback */ func(request storage.CommonTaskRequest) {