diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-06-01 13:56:30 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-06-01 13:56:30 -0400 |
| commit | a5bb972d94b2e29f73ecfa4abab275400d0caeef (patch) | |
| tree | 41cc0e2c758ab6018c8db08877deb0aa11d54b77 /src/Propellor | |
| parent | 446a2e4c9a3fe27782fd6d5d3228fc83a83fe82a (diff) | |
remove Params constructor
Before it gets into released API...
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Ssh.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Propellor/Ssh.hs b/src/Propellor/Ssh.hs index ac9295d1..3fe78f7a 100644 --- a/src/Propellor/Ssh.hs +++ b/src/Propellor/Ssh.hs @@ -22,7 +22,8 @@ sshCachingParams hn = do let ps = [ Param "-o" , Param ("ControlPath=" ++ socketfile) - , Params "-o ControlMaster=auto -o ControlPersist=yes" + , Param "-o", Param "ControlMaster=auto" + , Param "-o", Param "ControlPersist=yes" ] maybe noop (expireold ps socketfile) @@ -37,7 +38,7 @@ sshCachingParams hn = do then touchFile f else do void $ boolSystem "ssh" $ - [ Params "-O stop" ] ++ ps ++ + [ Param "-O", Param "stop" ] ++ ps ++ [ Param "localhost" ] nukeFile f tenminutes = 600 |
