diff options
Diffstat (limited to 'libbb/update_passwd.c')
-rw-r--r-- | libbb/update_passwd.c | 4 |
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 | ) { |