glocalfile: Set various file attributes if their value is FALSE
Following on from #2907 (closed), set various boolean attributes if they have
been requested, or are known for sure, and their value is FALSE
.
Previously the FALSE
value would have been implicitly returned by the
getter function, but now doing that without the attribute being
explicitly set will trigger a critical warning.
Don’t set these attributes if their value is unknown or there was an error querying it.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2934 (closed)
Closes #2934 (closed)