refactored delete, pull nil pointer and logging

This commit is contained in:
0xdcarns
2022-02-08 10:43:46 -05:00
parent a85a888251
commit 39cea2da6c
8 changed files with 57 additions and 27 deletions

View File

@@ -248,9 +248,6 @@ func Pull(network string, manual bool) (*models.Node, error) {
}
}
}
//if ncutils.IsLinux() {
// setDNS(&resNode, servercfg, &cfg.Node)
//}
var bkupErr = config.SaveBackup(network)
if bkupErr != nil {
ncutils.Log("unable to update backup file")