2
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Changed interpreter from /bin/sh to bash so string substitution wouldn't explode

"cproc=${proc//[^A-Za-z0-9_]/_}" would break (Bad Substitution errors) on my Debian Wheezy system. Changed the interpreter to bash and script began to run without issue.
This commit is contained in:
Shaun M 2013-10-15 17:29:48 -07:00
parent 42aa1e1854
commit 53fbef95a3

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# #
# Plugin to monitor CPU usage, for a selected set of processes. Tested on Linux. # Plugin to monitor CPU usage, for a selected set of processes. Tested on Linux.
# #