linux: Fix invalid check for denylisted dependencies (#18050)

Piotr Osiewicz created

Closes #ISSUE

Release Notes:

- N/A

Change summary

script/bundle-linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

script/bundle-linux 🔗

@@ -56,7 +56,7 @@ strip --strip-debug "${target_dir}/${target_triple}/release/remote_server"
 
 
 # Ensure that remote_server does not depend on libssl nor libcrypto, as we got rid of these deps.
-ldd "${target_dir}/${target_triple}/release/remote_server" | grep -q 'libcrypto\|libssl'
+! ldd "${target_dir}/${target_triple}/release/remote_server" | grep -q 'libcrypto\|libssl'
 
 suffix=""
 if [ "$channel" != "stable" ]; then