From fdb48b1dd11b802d0c2124fb3833672ca87ab870 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 3 Apr 2014 02:27:17 -0400 Subject: api doc improvements --- Propellor/Property/Cmd.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Propellor/Property/Cmd.hs') 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 -- cgit v1.3-2-g0d8e