Some examples are shown below. The first one shows the problem - no error message, but correct return code. The second one shows the expected behaviour for a not available command without white space in the command name.
rum:~$ foo\ bar rum:~$ echo $? 127 rum:~$ foo No command 'foo' found, did you mean: Command 'fio' from package 'fio' (universe) Command 'goo' from package 'goo' (universe) Command 'fop' from package 'fop' (universe) Command 'fox' from package 'objcryst-fox' (universe) Command 'xoo' from package 'xoo' (universe) Command 'zoo' from package 'zoo' (universe) foo: command not found rum:~$ echo $? 127 After applying the patch, the expected behaviour is shown: rum:~$ "foo bar" foo bar: command not found rum:~$ echo $? 127 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/754859 Title: function command_not_found_handle in /etc/bash.bashrc may supress command not found error message -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs