Do proper return code to script from cachedb_* functions ( treat 0 as success )