Make faulture to add address fatal

dev
Ruakij 2 years ago
parent ba6342a71f
commit 0d6564448a

@ -91,7 +91,7 @@ func main() {
case os.IsExist(err): case os.IsExist(err):
logger.Warn.Println("Address is already set on interface") logger.Warn.Println("Address is already set on interface")
default: default:
logger.Warn.Printf("Failed to set address on interface: %v", err) logger.Error.Fatalf("Failed to set address on interface: %v", err)
} }
} }
processedCount++ processedCount++

Loading…
Cancel
Save