about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2011-08-16 15:27:05 +0000
committerWayne Davison <wayned@users.sourceforge.net>2011-08-16 15:27:05 +0000
commit2c9b4e769fbf04c402f2ac01752e52d81e51932e (patch)
treee1ec6ccae49e9822914c0e4b96357662f503e3f4 /Src
parent3ba487ca77dcab94aeb0280a0e175bd1fda75230 (diff)
downloadzsh-2c9b4e769fbf04c402f2ac01752e52d81e51932e.tar.gz
zsh-2c9b4e769fbf04c402f2ac01752e52d81e51932e.tar.xz
zsh-2c9b4e769fbf04c402f2ac01752e52d81e51932e.zip
29650: Don't lose time info after a suspend+restore.
Diffstat (limited to 'Src')
-rw-r--r--Src/jobs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/jobs.c b/Src/jobs.c
index fc586d5ac..f58735bb0 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -953,6 +953,8 @@ printjob(Job jn, int lng, int synch)
 
     if (skip_print) {
 	if (jn->stat & STAT_DONE) {
+	    if (should_report_time(jn))
+		dumptime(jn);
 	    deletejob(jn);
 	    if (job == curjob) {
 		curjob = prevjob;