summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors
diff options
context:
space:
mode:
authorPeter Kasza <mr.schyte@gmail.com>2012-04-14 22:46:00 +0200
committerPeter Kasza <mr.schyte@gmail.com>2012-04-14 22:46:00 +0200
commitce55704aec437eb66157b5fbbc0e87e6a36c3ee2 (patch)
tree7fd715919e007e91e622c94ace1194130763fff2 /src/Plugins/Monitors
parentdaa114a3979105fbbbf53930267c8a667ec9ae59 (diff)
downloadxmobar-ce55704aec437eb66157b5fbbc0e87e6a36c3ee2.tar.gz
xmobar-ce55704aec437eb66157b5fbbc0e87e6a36c3ee2.tar.bz2
Removed the N/A text, when interface is not found.
Diffstat (limited to 'src/Plugins/Monitors')
-rw-r--r--src/Plugins/Monitors/Net.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/Net.hs b/src/Plugins/Monitors/Net.hs
index 4951169..96a68c3 100644
--- a/src/Plugins/Monitors/Net.hs
+++ b/src/Plugins/Monitors/Net.hs
@@ -106,7 +106,7 @@ printNet nd =
(tx, tb) <- formatNet t
parseTemplate [d,rx,tx,rb,tb]
Down -> return ""
- NA -> return "N/A"
+ NA -> return ""
parseNet :: NetDevRef -> String -> IO NetDev
parseNet nref nd = do