~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 1001.

  • Committer: Scott James Remnant
  • Date: 2008-06-07 02:40:29 UTC
  • Revision ID: scott@netsplit.com-20080607024029-5o1roix80lj22dg9
* init/job_process.c (job_process_run): Invert the logic; we nearly
always want to pass the script with /dev/fd/NNN.  The only times we
don't are if it doesn't exist, or if we're dealing with a single-line
shell script.
* init/tests/test_job_process.c (test_run): Update test cases to
only expect an argv-execution for single-line scripts.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: