[Bug 212405] Re: Wishlist: don't print anything if not connected to a terminal

Michael Vogt michael.vogt at ubuntu.com
Fri Jun 26 08:46:52 UTC 2009


With the fix for #127399 it should no longer run command-not-found when
in a subshell or if it does not have a terminal.  As for the single user
shell, here is what it outputs in karmic:

$ PATH=/sbin:/bin:/usr/games firefox
Command 'firefox' is available in '/usr/bin/firefox'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
bash: firefox: command not found

I think this is helpful advise, please reopen (or report a new bug) if
you think otherwise.

Thanks,
 Michael

** Changed in: command-not-found (Ubuntu)
   Importance: Wishlist => Medium

** Changed in: command-not-found (Ubuntu)
       Status: New => Fix Released

** Changed in: command-not-found (Ubuntu)
     Assignee: (unassigned) => Michael Vogt (mvo)

-- 
Wishlist: don't print anything if not connected to a terminal
https://bugs.launchpad.net/bugs/212405
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list