1
0
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:
Ben Kibbey 2010-01-02 11:48:50 -08:00 committed by Brenden Matthews
parent 0f5f2a1afe
commit ed5e86eb88

View File

@ -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':