/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Björn Påhlsson
  • Date: 2010-09-09 22:06:10 UTC
  • mto: (237.7.1 mandos)
  • mto: This revision was merged to the branch mainline in revision 270.
  • Revision ID: belorn@fukt.bsnet.se-20100909220610-fcpkaykznlq22oaw
minor debug info for plugin-runner.
Commit before merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1001
1001
      }
1002
1002
      if(p->environ[0] == NULL){
1003
1003
        if(execv(filename, p->argv) < 0){
1004
 
          error(0, errno, "execv");
 
1004
          error(0, errno, "execv for %s", filename);
1005
1005
          _exit(EX_OSERR);
1006
1006
        }
1007
1007
      } else {
1008
1008
        if(execve(filename, p->argv, p->environ) < 0){
1009
 
          error(0, errno, "execve");
 
1009
          error(0, errno, "execve for %s", filename);
1010
1010
          _exit(EX_OSERR);
1011
1011
        }
1012
1012
      }