check_action
check_action(enum nodetype t, const char *s, struct node *np)
int check_action(buf, log, opts, lvl)