nagios-notify/trunk/nagios-notify
glen
cvs at pld-linux.org
Fri Aug 4 03:09:47 CEST 2006
Author: glen
Date: Fri Aug 4 03:09:45 2006
New Revision: 7589
Modified:
nagios-notify/trunk/nagios-notify
Log:
- use local variable
Modified: nagios-notify/trunk/nagios-notify
==============================================================================
--- nagios-notify/trunk/nagios-notify (original)
+++ nagios-notify/trunk/nagios-notify Fri Aug 4 03:09:45 2006
@@ -13,6 +13,7 @@
# Substutute Nagios $VAR$-s (which are exported to environment by Nagios) from template.
template_subst() {
+ local tmpl="$1"
awk 'BEGIN {
for (var in ENVIRON) {
if (substr(var, 1, length("NAGIOS_")) == "NAGIOS_") {
More information about the pld-cvs-commit
mailing list