From 53fbef95a3618fd5d0e82129c8de937fbaa1b591 Mon Sep 17 00:00:00 2001 From: Shaun M Date: Tue, 15 Oct 2013 17:29:48 -0700 Subject: [PATCH] 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. --- plugins/processes/process_count | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/processes/process_count b/plugins/processes/process_count index 94611000..0802c8cd 100755 --- a/plugins/processes/process_count +++ b/plugins/processes/process_count @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Plugin to monitor CPU usage, for a selected set of processes. Tested on Linux. #