projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffd81f2
)
id: fix inverted if (!ENABLE_DESKTOP)
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 26 Jan 2011 15:11:19 +0000
(16:11 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 26 Jan 2011 15:11:19 +0000
(16:11 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/id.c
patch
|
blob
|
history
diff --git
a/coreutils/id.c
b/coreutils/id.c
index ed1dc862e812dd758ba91f2e89bb777c7a20bc27..0639325c3b282b5084c16073e3d7191ab9bb1319 100644
(file)
--- 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);