better check for all affected libs

This commit is contained in:
Oliver Ladner 2014-01-07 20:51:42 +01:00
commit 128951e5a7

View file

@ -5,4 +5,4 @@
# Shows all applications using libssl
# They need to be restarted after an OpenSSL upgrade
lsof | grep libssl | awk {'print $1"\t "$3'} | sort | uniq
for lib in $(dpkg -L libssl1.0.0 | egrep "(libcrypto\.so|libssl\.so)"); do lsof -R +c 15 / | grep "$lib"; done | awk {'if ($3==1) print $1'} | sort | uniq