On Fri, 19 Mar 1999, Robin Bowes wrote:

> How is the shell used by .qmail files determined?

Use the source, Luke. ;-)

--- extract from qmail-local.c - START
 switch(child = fork())
  {
   case -1:
     temp_fork();
   case 0:
     args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0;
     sig_pipedefault();
     execv(*args,args);
     strerr_die3x(111,"Unable to run /bin/sh: ",error_str(errno),". (#4.3.0)");
  }
--- extract from qmail-local.c - END

Hardcoded, in other words. Not too difficult to change though.. :-)

> Thanks,
> 
> R.

/ Joel Eriksson

Reply via email to