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