fix build warning
This commit is contained in:
parent
14f7a386f0
commit
9187a37dec
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ describePasswordPrompt' (Just (SuCommand p _ _)) = describePasswordPrompt p
|
||||||
describePasswordPrompt' Nothing = Nothing
|
describePasswordPrompt' Nothing = Nothing
|
||||||
|
|
||||||
runSuCommand :: (Maybe SuCommand) -> Maybe [(String, String)] -> IO Bool
|
runSuCommand :: (Maybe SuCommand) -> Maybe [(String, String)] -> IO Bool
|
||||||
runSuCommand (Just (SuCommand _ cmd ps)) env = boolSystemEnv cmd ps env
|
runSuCommand (Just (SuCommand _ cmd ps)) environ = boolSystemEnv cmd ps environ
|
||||||
runSuCommand Nothing _ = return False
|
runSuCommand Nothing _ = return False
|
||||||
|
|
||||||
-- Generates a SuCommand that runs a command as root, fairly portably.
|
-- Generates a SuCommand that runs a command as root, fairly portably.
|
||||||
|
|
Loading…
Reference in a new issue