aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-14 08:06:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-14 08:06:59 +0000
commit7f9593753a194c3d3db79f803f68d2ebaf98cd12 (patch)
tree53248c85f42e075a371bb71b9e066f398e6baa50 /libbb
parentb024f8da8fad7ffd9bc5e63ed947bf6bd35fac3e (diff)
downloadbusybox-w32-7f9593753a194c3d3db79f803f68d2ebaf98cd12.tar.gz
busybox-w32-7f9593753a194c3d3db79f803f68d2ebaf98cd12.tar.bz2
busybox-w32-7f9593753a194c3d3db79f803f68d2ebaf98cd12.zip
randomconfig fixes
Diffstat (limited to 'libbb')
-rw-r--r--libbb/update_passwd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/update_passwd.c b/libbb/update_passwd.c
index 32943482c..35b89a5b4 100644
--- a/libbb/update_passwd.c
+++ b/libbb/update_passwd.c
@@ -224,8 +224,10 @@ int FAST_FUNC update_passwd(const char *filename,
224 } 224 }
225 225
226 if (changed_lines == 0) { 226 if (changed_lines == 0) {
227 if (ENABLE_FEATURE_DEL_USER_FROM_GROUP && member) 227#if ENABLE_FEATURE_DEL_USER_FROM_GROUP
228 if (member)
228 bb_error_msg("can't find %s in %s", member, filename); 229 bb_error_msg("can't find %s in %s", member, filename);
230#endif
229 if ((ENABLE_ADDUSER || ENABLE_ADDGROUP) 231 if ((ENABLE_ADDUSER || ENABLE_ADDGROUP)
230 && applet_name[0] == 'a' && !member 232 && applet_name[0] == 'a' && !member
231 ) { 233 ) {