From c1abcd6bc5f8bd31696be5bfa1d457e7b8e1174d Mon Sep 17 00:00:00 2001 From: Johann Schmitz Date: Fri, 30 Jan 2015 13:40:26 +0100 Subject: [PATCH] Reverted to awk to extract database name --- plugins/firebird/firebird | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/firebird/firebird b/plugins/firebird/firebird index 74781a9b..972d741d 100755 --- a/plugins/firebird/firebird +++ b/plugins/firebird/firebird @@ -47,7 +47,7 @@ EOM exit 0;; esac -db=${0/firebird_/} +db=$(echo $0 | awk -F'_' '{print $2}') gstat=$(which gstat 2> /dev/null)