HomeDir
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
parent
ef0a9c7ede
commit
c342bbc09f
|
@ -19,7 +19,7 @@ func main() {
|
|||
signal.Notify(signalChan, os.Interrupt)
|
||||
|
||||
usr, _ := user.Current()
|
||||
home := usr.Home
|
||||
home := usr.HomeDir
|
||||
|
||||
clusterCfg, err := ipfscluster.LoadConfig(filepath.Join(home, "ipfs-cluster.json"))
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user