diff options
author | 2014-04-17 07:55:43 +0000 | |
---|---|---|
committer | 2014-04-17 07:55:43 +0000 | |
commit | 7f6133c3b9c0cbe727568dc385e733fed31272d8 (patch) | |
tree | 477d339577100cb82d4fd11c75e2a27824141942 /usr.bin/tmux/cmd-run-shell.c | |
parent | move enginetest to regress as was done with the other tests (diff) | |
download | wireguard-openbsd-7f6133c3b9c0cbe727568dc385e733fed31272d8.tar.xz wireguard-openbsd-7f6133c3b9c0cbe727568dc385e733fed31272d8.zip |
Remove the "info" message mechanism, this was only used for about five
mostly useless and annoying messages. Change those commands to silence
on success like all the others. Still accept the -q command line flag
and "quiet" server option for now.
Diffstat (limited to 'usr.bin/tmux/cmd-run-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-run-shell.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/tmux/cmd-run-shell.c b/usr.bin/tmux/cmd-run-shell.c index aaafc47e30c..2a291e60294 100644 --- a/usr.bin/tmux/cmd-run-shell.c +++ b/usr.bin/tmux/cmd-run-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-run-shell.c,v 1.24 2013/10/10 12:00:22 nicm Exp $ */ +/* $OpenBSD: cmd-run-shell.c,v 1.25 2014/04/17 07:55:43 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -161,13 +161,9 @@ cmd_run_shell_callback(struct job *job) retcode = WTERMSIG(job->status); xasprintf(&msg, "'%s' terminated by signal %d", cmd, retcode); } - if (msg != NULL) { - if (lines == 0) - cmdq_info(cmdq, "%s", msg); - else - cmd_run_shell_print(job, msg); - free(msg); - } + if (msg != NULL) + cmd_run_shell_print(job, msg); + free(msg); } void |