diff options
Diffstat (limited to 'sway/log.c')
-rw-r--r-- | sway/log.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -17,8 +17,7 @@ static const char *verbosity_colors[] = { | |||
17 | 17 | ||
18 | void init_log(int verbosity) { | 18 | void init_log(int verbosity) { |
19 | v = verbosity; | 19 | v = verbosity; |
20 | /* set FD_CLOEXEC flag to prevent programs called with exec to write into | 20 | /* set FD_CLOEXEC flag to prevent programs called with exec to write into logs */ |
21 | * logs */ | ||
22 | int i, flag; | 21 | int i, flag; |
23 | int fd[] = { STDOUT_FILENO, STDIN_FILENO, STDERR_FILENO }; | 22 | int fd[] = { STDOUT_FILENO, STDIN_FILENO, STDERR_FILENO }; |
24 | for (i = 0; i < 3; ++i) { | 23 | for (i = 0; i < 3; ++i) { |