~emersion/mrsh

beb0b10e0c8584a0ba27d3a8ef34b81b1e82d4d5 — Simon Ser 11 months ago 97434a4
Print warning when failing to enable job control
1 files changed, 3 insertions(+), 1 deletions(-)

M main.c
M main.c => main.c +3 -1
@@ 71,7 71,9 @@ int main(int argc, char *argv[]) {
	mrsh_state_set_parser_alias_func(&state, parser);

	if (state.interactive) {
		mrsh_set_job_control(&state, true);
		if (!mrsh_set_job_control(&state, true)) {
			fprintf(stderr, "failed to enable job control\n");
		}
	}

	struct mrsh_buffer read_buffer = {0};