]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fix the position of newline in the time output of 'script'
authorRui Zhao (renyuneyun) <renyuneyun@gmail.com>
Fri, 14 Apr 2017 16:43:41 +0000 (17:43 +0100)
committerRui Zhao (renyuneyun) <renyuneyun@gmail.com>
Fri, 14 Apr 2017 16:49:25 +0000 (17:49 +0100)
commitbdef362d5d6c2c899fc23270d9be10968a0cbdc2
treee8e1bb53df3a6c8330351b11480ee282091cb43a
parentd05422417eec3fe0b85d158ac1b0bd3d1da4d6c6
fix the position of newline in the time output of 'script'

- move '\n' to fprintf
- use `timeutils/strtime_iso()` instead of `strtime()`

Signed-off-by: Rui Zhao (renyuneyun) <renyuneyun@gmail.com>
term-utils/script.c