diff --git a/common/functions.sh b/common/functions.sh index 11c3f9c..aadb86c 100644 --- a/common/functions.sh +++ b/common/functions.sh @@ -108,9 +108,9 @@ is_shared_lib_present() { if ! ldconfig -p | grep $libtocheck then printf "$COL_YELLOW" "$libtocheck is not installed" - return 0 + return 1 else printf "$COL_YELLOW" "$libtocheck is installed" - return 1 + return 0 fi }