[BACK]Return to cmd-run-shell.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-run-shell.c between version 1.24 and 1.25

version 1.24, 2013/10/10 12:00:22 version 1.25, 2014/04/17 07:55:43
Line 161 
Line 161 
                 retcode = WTERMSIG(job->status);                  retcode = WTERMSIG(job->status);
                 xasprintf(&msg, "'%s' terminated by signal %d", cmd, retcode);                  xasprintf(&msg, "'%s' terminated by signal %d", cmd, retcode);
         }          }
         if (msg != NULL) {          if (msg != NULL)
                 if (lines == 0)                  cmd_run_shell_print(job, msg);
                         cmdq_info(cmdq, "%s", msg);          free(msg);
                 else  
                         cmd_run_shell_print(job, msg);  
                 free(msg);  
         }  
 }  }
   
 void  void

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25