[PATCH 4.14 10/26] sign-file: Fix incorrect return values check