Please note that the command-not-found hook is only active when the shell is run interactively and not in posix mode. So configure scripts will not fail.
The disadvantage of returning 127 is that the output will look more ugly: $ galeon The program 'galeon' is currently not installed, you can install it by typing: sudo apt-get install galeon Make sure you have the 'universe' component enabled -bash: galeon: command not found The last line "-bash: galeon: command not found" is not printed with a different exit code. -- wrong exit code https://launchpad.net/bugs/67726 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
