Permalink
Browse files

Merge pull request #193 from brycied00d/patch-1

Correct wildcard name handling on plugin net/vnstat_
  • Loading branch information...
2 parents 73bf794 + a2f35e9 commit bac376c23ec7ba27777df00af1847367dbcadac6 @Flameeyes Flameeyes committed Sep 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/network/vnstat_
@@ -16,7 +16,7 @@
-IFACE=`echo $0 | awk -F_ '{print $1}'`
+IFACE=${0##*vnstat_}
# Config section

0 comments on commit bac376c

Please sign in to comment.