diff options
Diffstat (limited to 'bin/syncqt')
-rwxr-xr-x | bin/syncqt | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -335,7 +335,9 @@ sub syncHeader { open HEADER, ">$header" || die "Could not open $header for writing!\n"; print HEADER "#include \"$iheader_out\"\n"; close HEADER; - utime(time, $ts, $header) or die "$iheader, $header"; + if(defined($ts)) { + utime(time, $ts, $header) or die "$iheader, $header"; + } return 1; } return 0; |