0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Commands which failed expansions are to be stored to history, too.

This commit is contained in:
Martin Mares 2000-03-12 22:55:09 +00:00
parent f098e072be
commit 971b2310ae

View File

@ -103,6 +103,8 @@ got_line(char *cmd_buffer)
input_hidden = 0; input_hidden = 0;
free(cmd); free(cmd);
} }
else
add_history(cmd_buffer);
} }
free(cmd_buffer); free(cmd_buffer);
} }