mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 16:33:49 +08:00
fixing sso error handling
This commit is contained in:
@@ -301,8 +301,7 @@ func WipeLocal(cfg *config.ClientConfig) error {
|
||||
if cfg.Node.Interface != "" {
|
||||
if ncutils.FileExists(dir + cfg.Node.Interface + ".conf") {
|
||||
if err := os.Remove(dir + cfg.Node.Interface + ".conf"); err != nil {
|
||||
log.Println("error removing .conf:")
|
||||
log.Println(err.Error())
|
||||
logger.Log(0, err.Error())
|
||||
fail = true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user