aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-10-22 14:12:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-10-22 14:12:25 +1300
commitb263657fdce2ee7513be48f375e8d328defef631 (patch)
tree247dd64677fa4f7748180fab87e3948976fbdb13
parent0a54200261a55a17488b4e6f02a010dea557c3e7 (diff)
downloadnagscripts-b263657fdce2ee7513be48f375e8d328defef631.tar.gz
Remove hilarious no-op
-rwxr-xr-xnagios-acknowledge3
1 files changed, 1 insertions, 2 deletions
diff --git a/nagios-acknowledge b/nagios-acknowledge
index 5878e40..51fdce8 100755
--- a/nagios-acknowledge
+++ b/nagios-acknowledge
@@ -30,7 +30,7 @@ usage() {
# Default to not notifying
notify=0
-# Figure out whether we should notify
+# Process options
OPTIND=1
while getopts 'hn' opt ; do
case "$opt" in
@@ -60,7 +60,6 @@ fi
now=$(date +%s)
spec=$1
sticky=1
-notify=$notify
persistent=1
author=${SUDO_USER:-$USER}
comment=${2:-'no comment given'}