[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.88 and 1.89

version 1.88, 2001/01/02 20:50:56 version 1.89, 2001/01/04 22:41:03
Line 109 
Line 109 
   
                 /* Stderr is left as it is so that error messages get                  /* Stderr is left as it is so that error messages get
                    printed on the user's terminal. */                     printed on the user's terminal. */
                 argv[0] = "/bin/sh";                  argv[0] = _PATH_BSHELL;
                 argv[1] = "-c";                  argv[1] = "-c";
                 argv[2] = command_string;                  argv[2] = command_string;
                 argv[3] = NULL;                  argv[3] = NULL;
   
                 /* 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. */
                 execv("/bin/sh", argv);                  execv(argv[0], argv);
                 perror("/bin/sh");                  perror(argv[0]);
                 exit(1);                  exit(1);
         }          }
         /* Parent. */          /* Parent. */

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89