/* don't enter action if it's already in the list,
* but do overwrite existing actions */
if ((strcmp(a->command, command) == 0)
- && (strcmp(a->terminal, cons) == 0)) {
+ && (strcmp(a->terminal, cons) == 0)
+ ) {
a->action_type = action_type;
return;
}
}
void FAST_FUNC xget_uidgid(struct bb_uidgid_t *u, const char *ug)
{
- if (!get_uidgid(u, ug, 1))
- bb_error_msg_and_die("unknown user/group %s", ug);
+ if (!get_uidgid(u, ug, 1))
+ bb_error_msg_and_die("unknown user/group %s", ug);
}
/* chown-like: