~emersion/mrsh

29001c4f1848969349eaa9b8d94f8a3284779ac7 — emersion 1 year, 8 months ago 11e64ae
Fix exit status
1 files changed, 1 insertions(+), 1 deletions(-)

M main.c
M main.c => main.c +1 -1
@@ 167,7 167,7 @@ int main(int argc, char *argv[]) {
			size_t n = interactive_next(&state, &line, prompt);
			free(prompt);
			if (!line) {
				state.exit = EXIT_FAILURE;
				state.exit = state.last_status;
				continue;
			}
			mrsh_buffer_append(&read_buffer, line, n);