summaryrefslogtreecommitdiffhomepage
path: root/src/Actions.hs
diff options
context:
space:
mode:
authorReto Hablützel <rethab@rethab.ch>2014-03-09 11:05:37 +0100
committerReto Hablützel <rethab@rethab.ch>2014-03-09 11:05:37 +0100
commitb87ed38376361259fb1aa8cef7fd9c34414b98ee (patch)
tree812d335c543c8b1a52a1ce9be56e4cdea104a43c /src/Actions.hs
parentba8a4378e28a3d0986cc3836c67d76cd2da2e1f9 (diff)
downloadxmobar-b87ed38376361259fb1aa8cef7fd9c34414b98ee.tar.gz
xmobar-b87ed38376361259fb1aa8cef7fd9c34414b98ee.tar.bz2
Handle inexistent devices
If a device is unplugged without prior unmounting, it still appears in the /etc/mtab file, which is used for this monitor. The problem is that this monitor canonicalized every path regardless of whether it actually existed or not. I basically added the 'only canonicalize if file exists'.
Diffstat (limited to 'src/Actions.hs')
0 files changed, 0 insertions, 0 deletions