From db22e16dc9340ab1d5e136c56265cb5a324b2af6 Mon Sep 17 00:00:00 2001 From: illiliti Date: Mon, 10 May 2021 16:05:36 +0300 Subject: [PATCH] tinyramfs: suppress output of command -v ldd --- tinyramfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyramfs b/tinyramfs index 92a4041..ecae6af 100755 --- a/tinyramfs +++ b/tinyramfs @@ -190,7 +190,7 @@ copy_binary() copy_file "$binary" "/bin/${binary##*/}" 755 1 # Skip copying binary dependencies if ldd not available. - command -v ldd || return 0 + command -v ldd > /dev/null || return 0 # Copy binary dependencies if any exist. ldd "$binary" 2> /dev/null |