dfget config fix (#1394)
Signed-off-by: ljx373327 <ljx373327@alibaba-inc.com>
This commit is contained in:
parent
d392b9f8aa
commit
f90cc04f78
|
|
@ -265,7 +265,7 @@ func checkAndSpawnDaemon(dfgetLockPath, daemonSockPath string) (client.DaemonCli
|
|||
return daemonClient, nil
|
||||
}
|
||||
|
||||
cmd := exec.Command(os.Args[0], "daemon", "--launcher", strconv.Itoa(os.Getpid()))
|
||||
cmd := exec.Command(os.Args[0], "daemon", "--launcher", strconv.Itoa(os.Getpid()), "--config", viper.GetString("config"))
|
||||
cmd.Stdin = nil
|
||||
cmd.Stdout = nil
|
||||
cmd.Stderr = nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue