[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.307 and 1.308

version 1.307, 2018/11/16 06:17:38 version 1.308, 2018/11/18 22:43:29
Line 150 
Line 150 
                  * Stderr is left for non-ControlPersist connections is so                   * Stderr is left for non-ControlPersist connections is so
                  * error messages may be printed on the user's terminal.                   * error messages may be printed on the user's terminal.
                  */                   */
                 if (debug_flag || !options.control_persist)                  if (!debug_flag && options.control_path != NULL &&
                       options.control_persist)
                         stderr_null();                          stderr_null();
   
                 argv[0] = shell;                  argv[0] = shell;
Line 232 
Line 233 
                  * Stderr is left for non-ControlPersist connections is so                   * Stderr is left for non-ControlPersist connections is so
                  * error messages may be printed on the user's terminal.                   * error messages may be printed on the user's terminal.
                  */                   */
                 if (debug_flag || !options.control_persist)                  if (!debug_flag && options.control_path != NULL &&
                       options.control_persist)
                         stderr_null();                          stderr_null();
   
                 argv[0] = shell;                  argv[0] = shell;

Legend:
Removed from v.1.307  
changed lines
  Added in v.1.308