diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-07-26 16:20:23 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-07-26 16:20:23 -0400 |
| commit | 266cbceb19197d4dd2c95bd2c62c79d23ae95ef9 (patch) | |
| tree | 2200222c5b12bb4cf96c66eff5561cc5a2ce50e7 /src/Propellor/Property/OS.hs | |
| parent | 939c642d14b5ecc3289e0bc0a55355201c6db3e1 (diff) | |
propellor spin
Diffstat (limited to 'src/Propellor/Property/OS.hs')
| -rw-r--r-- | src/Propellor/Property/OS.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/OS.hs b/src/Propellor/Property/OS.hs index 10d7afc0..c31bef7b 100644 --- a/src/Propellor/Property/OS.hs +++ b/src/Propellor/Property/OS.hs @@ -207,7 +207,7 @@ preserveNetwork = go `requires` Network.cleanInterfacesFile ["route", "list", "scope", "global"] case words <$> headMaybe ls of Just ("default":"via":_:"dev":iface:_) -> - ensureProperty w $ Network.static iface + ensureProperty w $ Network.preserveStatic iface _ -> do warningMessage "did not find any default ipv4 route" return FailedChange |
