really fix su command
This commit is contained in:
parent
d6b401c458
commit
c89a9e6ca5
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ runAsRoot cmd ps = go =<< firstM (inPath . fst) =<< selectcmds
|
|||
|
||||
-- These will only work when run in a console.
|
||||
consolecmds =
|
||||
[ ("su", [Param "-c", Param cmd, Param "--"] ++ ps)
|
||||
[ ("su", [Param "-c", Param shellcmd])
|
||||
, ("sudo", [Param cmd] ++ ps)
|
||||
, ("su-to-root", [Param "-c", Param shellcmd])
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue