projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd9d129
)
and fix quotes
author
Peter Palfrader
<peter@palfrader.org>
Thu, 9 Mar 2017 09:49:15 +0000
(10:49 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 9 Mar 2017 09:49:15 +0000
(10:49 +0100)
dsa-nagios-checks/checks/dsa-check-file_age
patch
|
blob
|
history
diff --git
a/dsa-nagios-checks/checks/dsa-check-file_age
b/dsa-nagios-checks/checks/dsa-check-file_age
index
0bfdfc1
..
f607407
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-file_age
+++ b/
dsa-nagios-checks/checks/dsa-check-file_age
@@
-104,7
+104,7
@@
done
if [ "$total" = 1 ]; then
echo -n $msg
else
- if [
"-n
$failed" ]; then
+ if [
-n "
$failed" ]; then
echo -n "FAIL: $failed "
fi
if [ -n "$ok" ]; then