diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/jobs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/jobs.c b/Src/jobs.c index bfc95ab61..82e4926ff 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -1392,6 +1392,14 @@ bin_fg(char *name, char **argv, char *ops, int func) printjob(job + jobtab, lng, 2); break; case BIN_DISOWN: + if (jobtab[job].stat & STAT_STOPPED) + zwarnnam(name, +#ifdef USE_SUSPENDED + "warning: job is suspended", +#else + "warning: job is stopped", +#endif + NULL, 0); deletejob(jobtab + job); break; } |