mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
remove unnecessary stderr msg when checking ldconfig
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user