Cherry-pick MR for !442. No need to cherry-pick the second commit from that MR that only renames a variable.
ddca_init()
/ddca_init2()
can fail in libddcutil 2.x, in casea user's (optional) ddcutil configuration file contains errors.If that happens, we should not attempt to call any further ddcutilAPI functions, as they will only fail anyway.
This was pointed out by Sanford Rockowitz, maintainer of ddcutil.
(cherry picked from commit 3b2b23c7)
Co-authored-by: Jakob Petsovits jpetso@petsovits.com