From 24f509d82b933984c9666abe6c2b0d1e6cc2c270 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 1 Dec 2010 20:17:47 +0100 Subject: [PATCH] fix date log name --- printer-callbacks.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printer-callbacks.pl b/printer-callbacks.pl index 11124fe..38a76f7 100755 --- a/printer-callbacks.pl +++ b/printer-callbacks.pl @@ -23,7 +23,7 @@ sub iso_datetime { return sprintf "%04d-%02d-%02dT%02d:%02d:%02d", $y+1900, $m, $d, $hh, $mm, $ss; } -my $log_path = join('.', $dir, (split(/T/,iso_datetime,2))[0], 'json'); +my $log_path = join('.', $dir . (split(/T/,iso_datetime,2))[0], 'json'); open(my $log, '>>', $log_path) || die "$log_path: $!"; my $community = 'public'; -- 2.20.1