Bug#485107: Don't close file descriptors 0, 1 and 2 before starting
micasad. Mono gives problem with this.
This commit is contained in:
parent
9327d9b56c
commit
d4c128e677
@ -29,11 +29,6 @@ main(int argc, char *argv[])
|
||||
/* Set the file mode creation mask */
|
||||
umask(022);
|
||||
|
||||
/* Close the associated standard file descriptors */
|
||||
close(STDIN_FILENO);
|
||||
close(STDOUT_FILENO);
|
||||
close(STDERR_FILENO);
|
||||
|
||||
/* Start micasad */
|
||||
return execv ("/usr/bin/mono", argv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user