diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-13 00:24:19 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-13 00:24:19 -0400 |
commit | 94554782894ec6c26da3b46312d5d1d16d596458 (patch) | |
tree | 78746106bfb153945ccbfd2bbae536081c005e91 /Utility/Network.hs | |
parent | 55bd61d8c42aaf36a3c57f8444c493f6b045f4cd (diff) |
finished where indentation changes
Diffstat (limited to 'Utility/Network.hs')
-rw-r--r-- | Utility/Network.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Utility/Network.hs b/Utility/Network.hs index bedb37dc9..62523c9e9 100644 --- a/Utility/Network.hs +++ b/Utility/Network.hs @@ -17,6 +17,5 @@ import Control.Applicative - use uname -n when available. -} getHostname :: IO (Maybe String) getHostname = catchMaybeIO uname_node - where - uname_node = takeWhile (/= '\n') <$> - readProcess "uname" ["-n"] + where + uname_node = takeWhile (/= '\n') <$> readProcess "uname" ["-n"] |