diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-24 02:44:17 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-24 02:44:17 +0000 |
commit | 21c0dad0c5fc922e3228b4be9d9b803aa554fb1b (patch) | |
tree | 34cb19a0f3dbb555d25d3fb906557e40cfa33693 | |
parent | 75264bc16a77ee1ebfcb9859e649c3cf0dc2fee5 (diff) | |
download | monitoring-plugins-21c0dad0c5fc922e3228b4be9d9b803aa554fb1b.tar.gz |
Bug fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@456 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-x | tools/mail_error | 3 | ||||
-rwxr-xr-x | tools/sfsnapshot | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/mail_error b/tools/mail_error index 4349c21d..184827e9 100755 --- a/tools/mail_error +++ b/tools/mail_error @@ -13,10 +13,9 @@ while getopts "o:m:" c; do esac 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 + mail -s "mail_error fail: $1" $email < $output_file fi diff --git a/tools/sfsnapshot b/tools/sfsnapshot index 8e82f298..665285af 100755 --- a/tools/sfsnapshot +++ b/tools/sfsnapshot @@ -53,6 +53,7 @@ function make_dist { } # Set working variables +PATH=$HOME/local/bin:$PATH PROJECT=nagiosplug IN=${HOME}/tmp_snapshot OUT_SERVER="shell.sf.net" |