aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-15 19:08:15 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-15 19:08:15 +0000
commitc34d372a4d618055928c2904fa7069cdb8228949 (patch)
tree129c69358456ca85bd78434badf8f944c4863bf0 /src/main.c
parent687016ea02c98354bcea0ae800120d4ca973a932 (diff)
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
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e33ea6e9..c19e80f3 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: */