projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ba9aa
)
More typos
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 13 May 2009 06:52:09 +0000
(08:52 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 13 May 2009 06:52:09 +0000
(08:52 +0200)
scripts/radwatch.in
patch
|
blob
|
history
diff --git
a/scripts/radwatch.in
b/scripts/radwatch.in
index
6272ccc
..
fd2bb65
100644
(file)
--- a/
scripts/radwatch.in
+++ b/
scripts/radwatch.in
@@
-50,7
+50,7
@@
tail="tail -n "
echo foo | ${tail}1 > /dev/null 2>&1
if test "$?" != "0"
then
- tail="tail
+
"
+ tail="tail
-
"
fi
RADIUSD=$sbindir/${name}
@@
-164,7
+164,7
@@
EOF
restarts=0
else
# Send email only once every hour (or so)
- if test "$now" != "$last_emai
L
"
+ if test "$now" != "$last_emai
l
"
then
cat | mail -s "ERROR - $name died, restarting.." $MAILTO <<EOF
$name has restarted $restarts times since last email at $last_email