minor change

This commit is contained in:
Laureηt 2021-05-10 16:09:34 +02:00
parent ef3aefe876
commit c47a0f40ac

View file

@ -131,6 +131,11 @@ int main(int argc, char *argv[])
{ // EOF { // EOF
break; break;
} }
else if (cmd->err)
{ // error from readcmd
fprintf(stderr, "ERROR: readcmd failed, (%d) %s\n", errno, strerror(errno));
continue;
}
else if (cmd->seq[0] == NULL) else if (cmd->seq[0] == NULL)
{ // empty { // empty
continue; continue;