mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
leave + join error fix, windows check
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user