ignore SIGPIPE

This commit is contained in:
unK
2008-10-18 16:10:07 +02:00
parent a980e77e0a
commit 58fcccc68b

View File

@@ -19,6 +19,7 @@
***************************************************************************/
#include <clocale>
#include <csignal>
#include <algorithm>
#include <iostream>
@@ -333,6 +334,8 @@ int main(int argc, char *argv[])
string info_title;
// local variables end
signal(SIGPIPE, SIG_IGN);
while (!main_exit)
{
if (!Mpd->Connected())