mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +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);
|
current_config = strndup(optarg, max_user_text);
|
||||||
break;
|
break;
|
||||||
case 'q':
|
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!");
|
CRIT_ERR(0, 0, "could not open /dev/null as stderr!");
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
|
Loading…
Reference in New Issue
Block a user