[PATCH 6.1 036/106] sign-file: Fix incorrect return values check