Skip to content
Snippets Groups Projects
  • Yorhel's avatar
    777db9a5
    Minor fixes to new shell feature · 777db9a5
    Yorhel authored
    The check for the system() exit status is slightly problematic, because
    bash returns the status code of the last command it executed. I've set
    it to only check for status code 127 now (command not found) in order to
    at least provide a message when the $SHELL command can't be found. This
    error can still be triggered when executing a nonexistant command within
    the shell and then exiting.
    777db9a5
    History
    Minor fixes to new shell feature
    Yorhel authored
    The check for the system() exit status is slightly problematic, because
    bash returns the status code of the last command it executed. I've set
    it to only check for status code 127 now (command not found) in order to
    at least provide a message when the $SHELL command can't be found. This
    error can still be triggered when executing a nonexistant command within
    the shell and then exiting.