=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/format.c,v retrieving revision 1.182 retrieving revision 1.183 diff -c -r1.182 -r1.183 *** src/usr.bin/tmux/format.c 2019/03/15 15:02:25 1.182 --- src/usr.bin/tmux/format.c 2019/03/18 09:46:42 1.183 *************** *** 1,4 **** ! /* $OpenBSD: format.c,v 1.182 2019/03/15 15:02:25 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: format.c,v 1.183 2019/03/18 09:46:42 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott *************** *** 346,352 **** force = (ft->flags & FORMAT_FORCE); t = time(NULL); ! if (fj->job == NULL && (force || fj->last != t)) { fj->job = job_run(expanded, NULL, server_client_get_cwd(ft->client, NULL), format_job_update, format_job_complete, NULL, fj, JOB_NOWAIT); --- 346,354 ---- force = (ft->flags & FORMAT_FORCE); t = time(NULL); ! if (force && fj->job != NULL) ! job_free(fj->job); ! if (force || (fj->job == NULL && fj->last != t)) { fj->job = job_run(expanded, NULL, server_client_get_cwd(ft->client, NULL), format_job_update, format_job_complete, NULL, fj, JOB_NOWAIT);