mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +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)
|
||||
|
||||
getSystemR :: Handler String
|
||||
getSystemR = liftIO $ do
|
||||
x <- readProcess "df" ["-ih"] ""
|
||||
y <- readProcess "ls" ["-lh", "/tmp"] ""
|
||||
return $ unlines [x, y]
|
||||
getSystemR = liftIO $ readProcess "df" ["-ih"] ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user