ignore SIGPIPE

master
unK 18 years ago
parent a980e77e0a
commit 58fcccc68b
  1. 3
      src/ncmpcpp.cpp

@ -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())

Loading…
Cancel
Save