<div dir="ltr"><p dir="ltr">Just a small problem in the commit message, I think what you wanted to say was "if stdin" instead of "in stdin".</p>
<p dir="ltr">--<br>
João Paulo Rechi Vita<br>
<a href="http://about.me/jprvita" target="_blank">http://about.me/jprvita</a></p>
<div class="gmail_quote">On Jul 19, 2013 4:35 PM, "Peter Meerwald" <<a href="mailto:pmeerw@pmeerw.net" target="_blank">pmeerw@pmeerw.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Signed-off-by: Peter Meerwald <<a href="mailto:pmeerw@pmeerw.net" target="_blank">pmeerw@pmeerw.net</a>><br>
---<br>
src/utils/pacmd.c | 7 +++++--<br>
1 file changed, 5 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/utils/pacmd.c b/src/utils/pacmd.c<br>
index 7dd3c9b..02b457d 100644<br>
--- a/src/utils/pacmd.c<br>
+++ b/src/utils/pacmd.c<br>
@@ -83,9 +83,9 @@ static void help(const char *argv0) {<br>
<br>
printf(_("\n"<br>
" -h, --help Show this help\n"<br>
- " --version Show version\n"<br>
" --quiet Don't show welcome message\n"<br>
- "When no command is given pacmd starts in the interactive mode\n" ));<br>
+ " --version Show version\n"<br>
+ "When no command is given pacmd starts in the interactive mode.\n" ));<br>
}<br>
<br>
enum {<br>
@@ -220,6 +220,9 @@ int main(int argc, char*argv[]) {<br>
ibuf_eof = true;<br>
}<br>
<br>
+ if (ibuf_eof || !isatty(STDIN_FILENO))<br>
+ quiet = true;<br>
+<br>
/* wait for initial welcome */<br>
for (;;) {<br>
struct pollfd *p;<br>
--<br>
1.8.3.2<br>
<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" target="_blank">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>
</div>