summaryrefslogtreecommitdiff
blob: 0526a2c0fc453c5978efc8643cfa1b8ab8e4645c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -Nru mgetty-1.1.35.orig/fax/faxrunq.in mgetty-1.1.35/fax/faxrunq.in
--- mgetty-1.1.35.orig/fax/faxrunq.in	2006-02-09 16:46:18.000000000 +0200
+++ mgetty-1.1.35/fax/faxrunq.in	2006-05-18 15:36:04.000000000 +0300
@@ -243,7 +243,7 @@
 	$echo "Status "`date`" successfully sent" >>JOB
 
 	# update accounting log
-	$echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S`"|$AH|success" >>$FAX_ACCT
+	$echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S'`"|$AH|success" >>$FAX_ACCT
 
 	# send mail, if requested
 	if [ -n "$do_mail_s" ] ; then
@@ -314,7 +314,7 @@
 	if [ -n "$suspend" ]
 	then
 	    # update accounting log (final)
-	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |$status|"`date '+%Y%m%d %H:%M:%S`"|$AH|fail $status: $why" >>$FAX_ACCT
+	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT
 
 	    # send mail, if requested
 	    if [ -n "$do_mail_f" ] ; then
@@ -347,7 +347,7 @@
 	    mv JOB JOB.suspended 2>/dev/null
 	else					# do not delete job yet...
 	    # update accounting log (intermediate)
-	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d %H:%M:%S`"|$AH|fail $status: $why" >>$FAX_ACCT
+	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT
 
 	    # call update handler, if requested
 	    if [ -n "$exec_pgm_u" ] ; then