shared/shell: Fix SIGINT handling

This fix ctrl-c combination working only once.
1 file changed