Module: monitoring-plugins Branch: maint Commit: d4b6d09f104f73c462e0e0c8a297ba9fc7c5a53e Author: Jan Wagner <[email protected]> Date: Wed Aug 20 20:29:23 2014 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d4b6d09
check_log.sh: droping path from basename while evaluating PROGNAME (Closes Debian Bug #758662) --- plugins-scripts/check_log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index 8653a5e..f67eff6 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh @@ -58,7 +58,7 @@ # Paths to commands used in this script. These # may have to be modified to match your system setup. -PROGNAME=`/bin/basename $0` +PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION="@NP_VERSION@" PATH="@TRUSTED_PATH@"
