*** ../bash-4.2-patched/shell.c	2011-01-02 16:04:51.000000000 -0500
--- shell.c	2011-12-29 09:18:52.000000000 -0500
***************
*** 1620,1624 ****
    no_line_editing = 1;
  #if defined (JOB_CONTROL)
!   set_job_control (0);
  #endif /* JOB_CONTROL */
  }
--- 1620,1626 ----
    no_line_editing = 1;
  #if defined (JOB_CONTROL)
!   /* Even if the shell is not interactive, enable job control if the -i or
!      -m option is supplied at startup. */
!   set_job_control (forced_interactive||jobs_m_flag);
  #endif /* JOB_CONTROL */
  }
