From c34d372a4d618055928c2904fa7069cdb8228949 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 15 May 2004 19:08:15 +0000 Subject: don't close STDIN_FILENO, not suppose to dup2 a closed fd git-svn-id: https://svn.musicpd.org/mpd/trunk@1023 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index e33ea6e90..c19e80f31 100644 --- a/src/main.c +++ b/src/main.c @@ -359,7 +359,6 @@ int main(int argc, char * argv[]) { initVolume(); initInterfaces(); - close(STDIN_FILENO); if(options.daemon) { int pid; @@ -452,4 +451,4 @@ int main(int argc, char * argv[]) { return EXIT_SUCCESS; } -/* vim:set shiftwidth=4 tabstop=8 expandtab: */ +/* vim:set shiftwidth=8 tabstop=8 expandtab: */ -- cgit v1.2.3