From 96f2bc003a85f1881d91bc73c037c17a53bee089 Mon Sep 17 00:00:00 2001 From: Stig Sandbeck Mathisen Date: Sat, 4 Oct 2014 22:27:32 +0200 Subject: [PATCH] Use single bracket for test, keeping /bin/sh as interpreter --- plugins/mysql/mysql_report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/mysql_report b/plugins/mysql/mysql_report index 798021e8..8ae0e02c 100755 --- a/plugins/mysql/mysql_report +++ b/plugins/mysql/mysql_report @@ -92,7 +92,7 @@ graph_vlabel ${vlabel} graph_category ${category} graph_info ${info} EOH1 - [[ -n "${period}" ]] && echo "graph_period ${period}" + [ -n "${period}" ] && echo "graph_period ${period}" I=1 for name in ${names}; do eval iquery='${query_'${name}'}'