--- nagios-plugins-1.4.3/plugins-scripts/subst.in.orig 2006-07-24 03:53:45.000000000 +0200 +++ nagios-plugins-1.4.3/plugins-scripts/subst.in 2006-07-24 03:54:24.000000000 +0200 @@ -62,11 +62,11 @@ # subst will replace the fully qualified command with whatever is # returned from the which subroutine # -/^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// { - match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/); - c=substr($0,RSTART,RLENGTH); - sub(c,which(c,path)); -} +#/^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// { +# match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/); +# c=substr($0,RSTART,RLENGTH); +# sub(c,which(c,path)); +#} { print;