diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-01-01 13:58:27 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-01-01 13:58:27 +0100 |
commit | 5fdeaa35316ae3a5acc7c78d9df53d801d68f015 (patch) | |
tree | 32d734ae5d58fe5c14fde02e19ac7cc3cc6105ce | |
parent | 047db4eb8c83e1d70f92dfe240197a1bd88051c6 (diff) | |
download | desktop-tools-5fdeaa35316ae3a5acc7c78d9df53d801d68f015.tar.gz desktop-tools-5fdeaa35316ae3a5acc7c78d9df53d801d68f015.tar.xz desktop-tools-5fdeaa35316ae3a5acc7c78d9df53d801d68f015.zip |
wmstatus: fix invocation of "brightness"
-rw-r--r-- | wmstatus.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2078,6 +2078,10 @@ spawn (struct app_context *ctx, char *argv[]) if (ctx->nut_client.socket != -1) posix_spawn_file_actions_addclose (&actions, ctx->nut_client.socket); + // That would mess up our JSON + posix_spawn_file_actions_addopen + (&actions, STDOUT_FILENO, "/dev/null", O_WRONLY, 0); + posix_spawnattr_t attr; posix_spawnattr_init (&attr); posix_spawnattr_setpgroup (&attr, 0); |