mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-14 13:18:30 +01:00
Remove some incriminating info from /system
This commit is contained in:
parent
dab17dc988
commit
09cf1b10a1
@ -4,7 +4,4 @@ import Import
|
|||||||
import System.Process (readProcess)
|
import System.Process (readProcess)
|
||||||
|
|
||||||
getSystemR :: Handler String
|
getSystemR :: Handler String
|
||||||
getSystemR = liftIO $ do
|
getSystemR = liftIO $ readProcess "df" ["-ih"] ""
|
||||||
x <- readProcess "df" ["-ih"] ""
|
|
||||||
y <- readProcess "ls" ["-lh", "/tmp"] ""
|
|
||||||
return $ unlines [x, y]
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user