Fixed a problem in -r, when the jobid wasn't found.
--- a/jobs.c Thu Jan 17 23:10:05 2008 +0100
+++ b/jobs.c Thu Jan 17 23:22:08 2008 +0100
@@ -630,7 +630,7 @@
}
}
- if (p == 0 || p->state == RUNNING || p == firstjob)
+ if (p == 0 || p->state == RUNNING || p == firstjob || p->jobid != jobid)
{
char tmp[50];
if (jobid == -1)