mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-02 05:02:42 +08:00
updated logic for join/leave network
This commit is contained in:
@@ -83,6 +83,7 @@ func RestartSystemD() {
|
||||
|
||||
// CleanupLinux - cleans up neclient configs
|
||||
func CleanupLinux() {
|
||||
RemoveSystemDServices()
|
||||
if err := os.RemoveAll(ncutils.GetNetclientPath()); err != nil {
|
||||
logger.Log(1, "Removing netclient configs: ", err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user