From 88faf18aa3be08dd8ff4349834a03f45865005c3 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Tue, 18 Nov 2014 12:09:28 +0100 Subject: [PATCH] bash completion: hide errors (closes #1671) For system installation, the bash auto-completion will display messages for users without home directory. Redirect stderr to null --- tools/weboob_bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/weboob_bash_completion b/tools/weboob_bash_completion index 8ffe3c1b..be626977 100644 --- a/tools/weboob_bash_completion +++ b/tools/weboob_bash_completion @@ -34,7 +34,7 @@ _weboob() } hash weboob-config 2>/dev/null && -weboob_applications=$(weboob-config applications) +weboob_applications=$(weboob-config applications 2>/dev/null) hash -d weboob-config for application in $weboob_applications do