Project

General

Profile

Actions

Bug #318

closed

gzsig returning wrong exit code

Added by Chris Buechler about 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Upgrade
Target version:
Start date:
01/22/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

Auto-update currently isn't working with non-signed images because gzsig exits with the wrong exit code on unsigned images.

  1. gzsig verify /etc/pubkey.pem < latest.tgz
    No gzip signature found
    Couldn't verify input
  2. echo $?
    1

According to system_firmware_auto.php, it should (and used to) return 2 in such situations.

Actions

Also available in: Atom PDF