/srv/irclogs.ubuntu.com/2015/06/09/#ubuntu-doc.txt

=== ahoneybun_ is now known as ahoneybun
=== gsilva is now known as gsilvapt
TorianHi.  Just wanted to let you know of an slight issue in one of the scripts on the docs.15:26
TorianThe first script on this page https://help.ubuntu.com/lts/serverguide/backups-shellscripts-rotation.html has an issue at line 24 if the month is a single digit.15:27
TorianBecause of the padding it reads it as an octal number.15:27
TorianTo fix it just add the no padding option to the date command. Change day_num=$(date +%d) to day_num=$(date +%-d).15:28
pmatulisopen a bug15:33

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!