mirror of
https://github.com/cmur2/munin-postfix.git
synced 2024-11-18 12:56:17 +01:00
Fix syntax for sh
This commit is contained in:
parent
2c2b774a3c
commit
a68da5d4c1
@ -93,8 +93,9 @@ SPOOLDIR=${spooldir:-$POSTCONFSPOOL}
|
|||||||
. $MUNIN_LIBDIR/plugins/plugin.sh
|
. $MUNIN_LIBDIR/plugins/plugin.sh
|
||||||
|
|
||||||
syslogXmins() {
|
syslogXmins() {
|
||||||
for (( i = $MINUTES; i > 0; i-- )) ; do
|
MINUTES_MINUS_ONE=`expr $MINUTES - 1`
|
||||||
#for i in 4 3 2 1 0; do
|
#for (( i = $MINUTES; i > 0; i-- )) ; do
|
||||||
|
for i in $(seq $MINUTES_MINUS_ONE 0) ; do
|
||||||
# In %_d the underscore is important since it demands `date`
|
# In %_d the underscore is important since it demands `date`
|
||||||
# to pad with spaces (like syslog for e.g. "Jan 1" to "Jan 9")
|
# to pad with spaces (like syslog for e.g. "Jan 1" to "Jan 9")
|
||||||
# instead of zeros.
|
# instead of zeros.
|
||||||
|
Loading…
Reference in New Issue
Block a user