summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar')
-rw-r--r--src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs b/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
index 19a34b1..a030943 100644
--- a/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
+++ b/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
@@ -88,8 +88,7 @@ hwmonPaths :: IO [String]
hwmonPaths = do p <- coretempPath
let cps = [ p ++ "hwmon/hwmon" ++ show (x :: Int) ++ "/"
| x <- [0..9] ]
- xs <- filterM doesDirectoryExist cps
- return xs
+ filterM doesDirectoryExist cps
-- | Checks Labels, if they refer to a core and returns Strings of core-
-- temperatures.