From: Denys Vlasenko Date: Wed, 26 Jan 2011 15:11:19 +0000 (+0100) Subject: id: fix inverted if (!ENABLE_DESKTOP) X-Git-Tag: 1_19_0~361 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df7b6577c6abaff551b15ccc80917553afde33fb;p=oweals%2Fbusybox.git id: fix inverted if (!ENABLE_DESKTOP) Signed-off-by: Denys Vlasenko --- diff --git a/coreutils/id.c b/coreutils/id.c index ed1dc862e..0639325c3 100644 --- a/coreutils/id.c +++ b/coreutils/id.c @@ -176,10 +176,9 @@ int id_main(int argc UNUSED_PARAM, char **argv) prefix = ","; } } else if (n < 0) { /* error in get_groups() */ - if (!ENABLE_DESKTOP) + if (ENABLE_DESKTOP) bb_error_msg_and_die("can't get groups"); - else - return EXIT_FAILURE; + return EXIT_FAILURE; } if (ENABLE_FEATURE_CLEAN_UP) free(groups);