shell.c bug squashed in recurring prompt after empty command line