aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parent687016ea02c98354bcea0ae800120d4ca973a932 (diff)
downloadmpd-c34d372a4d618055928c2904fa7069cdb8228949.tar.gz
mpd-c34d372a4d618055928c2904fa7069cdb8228949.tar.xz
mpd-c34d372a4d618055928c2904fa7069cdb8228949.zip
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 '')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
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: */