aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--whatmaps/distro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/whatmaps/distro.py b/whatmaps/distro.py
index 87e264e..02a696c 100644
--- a/whatmaps/distro.py
+++ b/whatmaps/distro.py
@@ -130,7 +130,7 @@ def detect():
try:
lsb_cmd = subprocess.Popen(['lsb_release', '--id', '-s'],
stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
+ stderr=subprocess.DEVNULL)
output = lsb_cmd.communicate()[0]
if not lsb_cmd.returncode:
id = output.strip()