fix windows build
This commit is contained in:
parent
cf6c5d5ca9
commit
dfbd303d66
1 changed files with 1 additions and 1 deletions
|
@ -98,5 +98,5 @@ mkSuCommand cmd ps = firstM (\(SuCommand _ p _) -> inPath p) =<< selectcmds
|
||||||
shellcmd = unwords $ map shellEscape (cmd:toCommand ps)
|
shellcmd = unwords $ map shellEscape (cmd:toCommand ps)
|
||||||
#else
|
#else
|
||||||
-- For windows, we assume the user has administrator access.
|
-- For windows, we assume the user has administrator access.
|
||||||
mkSuCommand cmd ps = SuCommand NoPromptPassword cmd ps
|
mkSuCommand cmd ps = return $ SuCommand NoPromptPassword cmd ps
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue