util: systemd: Don't strlen a possibly NULL string
Coverity complains about virBufferCurrentContent might be return null when calling strlen, so check virBufferError first before calling strlen.
Showing
Coverity complains about virBufferCurrentContent might be return null when calling strlen, so check virBufferError first before calling strlen.