remove unnecessary stderr msg when checking ldconfig

This commit is contained in:
stmoon
2020-07-28 00:04:22 +09:00
committed by Nuno Marques
parent 7354e39893
commit b457122489
+1 -1
View File
@@ -261,7 +261,7 @@ else:
# get FastRTPS version
fastrtps_version = subprocess.check_output(
"ldconfig -v | grep libfastrtps", shell=True).decode("utf-8").strip().split('so.')[-1]
"ldconfig -v 2>/dev/null | grep libfastrtps", shell=True).decode("utf-8").strip().split('so.')[-1]
# get ROS 2 version, if exists
ros2_distro = ''