[PATCH 6.6 049/166] sign-file: Fix incorrect return values check