mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 12:27:52 +00:00
Fix the quiet command line option.
Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
This commit is contained in:
parent
0f5f2a1afe
commit
ed5e86eb88
@ -4214,7 +4214,7 @@ int main(int argc, char **argv)
|
||||
current_config = strndup(optarg, max_user_text);
|
||||
break;
|
||||
case 'q':
|
||||
if (freopen("/dev/null", "w", stderr))
|
||||
if (!freopen("/dev/null", "w", stderr))
|
||||
CRIT_ERR(0, 0, "could not open /dev/null as stderr!");
|
||||
break;
|
||||
case 'h':
|
||||
|
Loading…
Reference in New Issue
Block a user