[BACK]Return to sshconnect.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.231 and 1.232

version 1.231, 2011/01/06 23:01:35 version 1.232, 2011/01/16 11:50:36
Line 133 
Line 133 
   
                 /* Execute the proxy command.  Note that we gave up any                  /* Execute the proxy command.  Note that we gave up any
                    extra privileges above. */                     extra privileges above. */
                   signal(SIGPIPE, SIG_DFL);
                 execv(argv[0], argv);                  execv(argv[0], argv);
                 perror(argv[0]);                  perror(argv[0]);
                 exit(1);                  exit(1);
Line 1245 
Line 1246 
         osighand = signal(SIGCHLD, SIG_DFL);          osighand = signal(SIGCHLD, SIG_DFL);
         pid = fork();          pid = fork();
         if (pid == 0) {          if (pid == 0) {
                   signal(SIGPIPE, SIG_DFL);
                 debug3("Executing %s -c \"%s\"", shell, args);                  debug3("Executing %s -c \"%s\"", shell, args);
                 execl(shell, shell, "-c", args, (char *)NULL);                  execl(shell, shell, "-c", args, (char *)NULL);
                 error("Couldn't execute %s -c \"%s\": %s",                  error("Couldn't execute %s -c \"%s\": %s",

Legend:
Removed from v.1.231  
changed lines
  Added in v.1.232