[Nagiosplug-checkins] CVS: nagiosplug/tools mail_error,1.1,1.2 sfsnapshot,1.7,1.8
Ton Voon
tonvoon at users.sourceforge.net
Sun Mar 23 18:45:15 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv19130
Modified Files:
mail_error sfsnapshot
Log Message:
Bug fixes
Index: mail_error
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/tools/mail_error,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** mail_error 24 Mar 2003 02:21:02 -0000 1.1
--- mail_error 24 Mar 2003 02:44:17 -0000 1.2
***************
*** 14,22 ****
done
shift $(($OPTIND-1))
- echo "output_file=$output_file email=$email"
[[ -z $1 ]] && die "Must specify command"
if ! "$@" > $output_file 2>&1 ; then
! mail -s "mail_error fail: $@" $email < $output_file
fi
--- 14,21 ----
done
shift $(($OPTIND-1))
[[ -z $1 ]] && die "Must specify command"
if ! "$@" > $output_file 2>&1 ; then
! mail -s "mail_error fail: $1" $email < $output_file
fi
Index: sfsnapshot
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/tools/sfsnapshot,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** sfsnapshot 24 Mar 2003 02:19:22 -0000 1.7
--- sfsnapshot 24 Mar 2003 02:44:17 -0000 1.8
***************
*** 54,57 ****
--- 54,58 ----
# Set working variables
+ PATH=$HOME/local/bin:$PATH
PROJECT=nagiosplug
IN=${HOME}/tmp_snapshot
More information about the Commits
mailing list