typo
This commit is contained in:
parent
c0bc3815ac
commit
a0a416780d
|
@ -18,8 +18,8 @@ sshdConfig = "/etc/ssh/sshd_config"
|
||||||
|
|
||||||
setSshdConfig :: String -> Bool -> Property
|
setSshdConfig :: String -> Bool -> Property
|
||||||
setSshdConfig setting allowed = combineProperties desc
|
setSshdConfig setting allowed = combineProperties desc
|
||||||
[ lineNotInFile sshdConfig $ sshLine (not allowed)
|
[ lineNotInFile sshdConfig $ sshline (not allowed)
|
||||||
, lineInFile sshdConfig $ sshLine allowed
|
, lineInFile sshdConfig $ sshline allowed
|
||||||
] `onChange` restartSshd
|
] `onChange` restartSshd
|
||||||
where
|
where
|
||||||
desc = unwords [ "ssh config:", setting, sshBool allowed ]
|
desc = unwords [ "ssh config:", setting, sshBool allowed ]
|
||||||
|
|
Loading…
Reference in New Issue