Skip to content

Commit

Permalink
Update sig_handlers.c removing exit on sigquit
Browse files Browse the repository at this point in the history
Removed exit on sigquit to avoid exiting when pressing Ctrl+\ while in a blocking command
  • Loading branch information
izzypt authored Aug 14, 2023
1 parent f9787f5 commit e06c9e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion signal_handlers/sig_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ void handle_sigquit(int sig)
ft_printf("\b \b");
ft_printf("\b \b");
ft_printf("Quit (core dumped)\n");
cmd_exit(ft_itoa(get_data()->exit), 0);
}
}
else
Expand Down

0 comments on commit e06c9e4

Please sign in to comment.