projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f7a38
)
fix build warning
author
Joey Hess
<joeyh@joeyh.name>
Thu, 27 Oct 2022 14:21:24 +0000
(10:21 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 27 Oct 2022 14:21:24 +0000
(10:21 -0400)
Utility/Su.hs
patch
|
blob
|
history
diff --git
a/Utility/Su.hs
b/Utility/Su.hs
index e956d808b4cd92b23e3e976a54f95d7594c81f97..d2d970298a9e148cb5cb813f4154e8837aaebe13 100644
(file)
--- a/
Utility/Su.hs
+++ b/
Utility/Su.hs
@@
-58,7
+58,7
@@
describePasswordPrompt' (Just (SuCommand p _ _)) = describePasswordPrompt p
describePasswordPrompt' Nothing = Nothing
runSuCommand :: (Maybe SuCommand) -> Maybe [(String, String)] -> IO Bool
-runSuCommand (Just (SuCommand _ cmd ps)) env
= boolSystemEnv cmd ps env
+runSuCommand (Just (SuCommand _ cmd ps)) env
iron = boolSystemEnv cmd ps environ
runSuCommand Nothing _ = return False
-- Generates a SuCommand that runs a command as root, fairly portably.