diff options
author | mh <mh@immerda.ch> | 2009-01-27 09:18:48 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-01-27 09:18:48 +0000 |
commit | b0a1609e37045fe9251d4afaedde35a1ca65ca2a (patch) | |
tree | 7252b5fe332e923482df13575e602292574b93c7 | |
parent | ef960f8a85294e7b684d8f0dfffa3ae6fd70441e (diff) | |
download | puppet-lighttpd-b0a1609e37045fe9251d4afaedde35a1ca65ca2a.tar.gz puppet-lighttpd-b0a1609e37045fe9251d4afaedde35a1ca65ca2a.tar.bz2 |
fixing path extraction
-rw-r--r-- | files/munin/lighttpd_ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/munin/lighttpd_ b/files/munin/lighttpd_ index 5862ee9..65d51d2 100644 --- a/files/munin/lighttpd_ +++ b/files/munin/lighttpd_ @@ -5,8 +5,8 @@ # immerda project group <admin+munin(at)immerda.ch> # GPLv3 -import sys -kind = sys.argv[0].replace('lighttpd_', '') +import sys, os +kind = os.path.split(sys.argv[0])[1].replace('lighttpd_', '') if kind == "total_accesses": graph_title = "Total Accesses" graph_type = "DERIVE" |