diff options
Diffstat (limited to 'Propellor/Property/Cmd.hs')
| -rw-r--r-- | Propellor/Property/Cmd.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Property/Cmd.hs b/Propellor/Property/Cmd.hs index 1f668daf..dc5073d3 100644 --- a/Propellor/Property/Cmd.hs +++ b/Propellor/Property/Cmd.hs @@ -41,7 +41,7 @@ scriptProperty script = cmdProperty "sh" ["-c", shellcmd] shellcmd = intercalate " ; " ("set -e" : script) -- | A property that can satisfied by running a series of shell commands, --- as user (staring in their home directory). +-- as user (cd'd to their home directory). userScriptProperty :: UserName -> [String] -> Property userScriptProperty user script = cmdProperty "su" ["-c", shellcmd, user] where |
