From 1c744b951263774f12f3bf028aeb5f98f29ad816 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 30 Dec 2016 16:39:51 -0400 Subject: [PATCH] more windows build fix --- Utility/Su.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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