diff --git a/files/usr/local/bin/snrlog b/files/usr/local/bin/snrlog index 54763272..e1912b94 100755 --- a/files/usr/local/bin/snrlog +++ b/files/usr/local/bin/snrlog @@ -43,7 +43,7 @@ chomp $nf; if (! -e $tmpdir ) { system("mkdir $tmpdir > /dev/null"); } ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); -$d = sprintf ("%02d/%02d %02d:%02d:%02d",$mon, $mday,$hour, $min, $sec); +$d = sprintf ("%02d/%02d %02d:%02d:%02d",$mon+1, $mday,$hour, $min, $sec); foreach $sigmac ( `ls $sigdir` ) {