mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 00:55:34 +03:00
Clean up noise from eu-readelf
This commit is contained in:
parent
aabc0553b5
commit
6eedcafc37
@ -36,7 +36,7 @@ function get_dso_deps() {
|
||||
declare -a FILES
|
||||
declare -a NAMES
|
||||
|
||||
local LDSO=$(LANG=C eu-readelf -l $bin |grep interpreter |awk {'print $4;'} |sed -e 's/]$//')
|
||||
local LDSO=$(LANG=C eu-readelf -l $bin 2>/dev/null |grep interpreter |awk {'print $4;'} |sed -e 's/]$//')
|
||||
[ -z "$LDSO" -o "$LDSO" == "$bin" ] && local LDSO="$IF_RTLD"
|
||||
[ -z "$LDSO" -o "$LDSO" == "$bin" ] && return 1
|
||||
[ -z "$IF_RTLD" ] && IF_RTLD="$LDSO"
|
||||
|
Loading…
Reference in New Issue
Block a user