zipl: set reason not text for failed check

GitHub-ID: #76

Signed-off-by: Dan Horák <dan@danny.cz>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Dan Horák
2019-11-18 04:29:04 -05:00
committed by Jan Höppner
parent 41fae58ecd
commit 3217e0438f

View File

@@ -1603,7 +1603,7 @@ scan_check_bls(struct scan_token *scan)
scan[i].content.keyword.value);
rc = misc_check_readable_file(img_value);
if (rc) {
error_text(
error_reason(
"Image file '%s' is not accessible",
scan[i].content.keyword.value);
return rc;