From: Joey Hess Date: Fri, 30 Dec 2016 20:39:51 +0000 (-0400) Subject: more windows build fix X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~278^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c744b951263774f12f3bf028aeb5f98f29ad816;p=git-annex.git more windows build fix --- diff --git a/Utility/Su.hs b/Utility/Su.hs index 464c8aaf51..f1afd54140 100644 --- a/Utility/Su.hs +++ b/Utility/Su.hs @@ -98,5 +98,5 @@ mkSuCommand cmd ps = firstM (\(SuCommand _ p _) -> inPath p) =<< selectcmds shellcmd = unwords $ map shellEscape (cmd:toCommand ps) #else -- For windows, we assume the user has administrator access. -mkSuCommand cmd ps = return $ SuCommand NoPromptPassword cmd ps +mkSuCommand cmd ps = return $ Just $ SuCommand NoPromptPassword cmd ps #endif