leave + join error fix, windows check

This commit is contained in:
0xdcarns
2021-11-08 12:15:20 -05:00
parent 2abaa52932
commit 7e2be51b5b
3 changed files with 7 additions and 1 deletions

View File

@@ -283,6 +283,9 @@ func WipeLocal(network string) error {
if ncutils.FileExists(home + "netconfig-" + network) {
_ = os.Remove(home + "netconfig-" + network)
}
if ncutils.FileExists(home + "backup.netconfig-" + network) {
_ = os.Remove(home + "backup.netconfig-" + network)
}
if ncutils.FileExists(home + "nettoken-" + network) {
_ = os.Remove(home + "nettoken-" + network)
}