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:
parent
f098e072be
commit
971b2310ae
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user