diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-26 16:11:19 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-26 16:11:19 +0100 |
commit | df7b6577c6abaff551b15ccc80917553afde33fb (patch) | |
tree | b4743a70d20e4f656b5df1e6024c6c333422ade1 | |
parent | ffd81f2003deaf3471e1da818735df91841399c4 (diff) | |
download | busybox-w32-df7b6577c6abaff551b15ccc80917553afde33fb.tar.gz busybox-w32-df7b6577c6abaff551b15ccc80917553afde33fb.tar.bz2 busybox-w32-df7b6577c6abaff551b15ccc80917553afde33fb.zip |
id: fix inverted if (!ENABLE_DESKTOP)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/id.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) | |||
176 | prefix = ","; | 176 | prefix = ","; |
177 | } | 177 | } |
178 | } else if (n < 0) { /* error in get_groups() */ | 178 | } else if (n < 0) { /* error in get_groups() */ |
179 | if (!ENABLE_DESKTOP) | 179 | if (ENABLE_DESKTOP) |
180 | bb_error_msg_and_die("can't get groups"); | 180 | bb_error_msg_and_die("can't get groups"); |
181 | else | 181 | return EXIT_FAILURE; |
182 | return EXIT_FAILURE; | ||
183 | } | 182 | } |
184 | if (ENABLE_FEATURE_CLEAN_UP) | 183 | if (ENABLE_FEATURE_CLEAN_UP) |
185 | free(groups); | 184 | free(groups); |