[PATCH 5.4 12/40] sign-file: Fix incorrect return values check