bugGNU Wget - Bugs: bug #34197, Wrong exit code


bug #34197: Wrong exit code

Submitted by:  None
Submitted on:  Fri 02 Sep 2011 02:31:20 PM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Giuseppe Scrivano <gscrivano>
Originator Name: Jakob MatthesOriginator Email: -unavailable-
Open/Closed: OpenRelease: trunk
Operating System: GNU/LinuxReproducibility: Every Time
Fixed Release: NonePlanned Release: 1.13.4
Regression: YesWork Required: None
Patch Included: No

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 06 Sep 2011 01:56:45 PM UTC, comment #3:

Thanks.. amended.

Giuseppe Scrivano <gscrivano>
Project AdministratorIn charge of this item.
Tue 06 Sep 2011 11:14:39 AM UTC, comment #2:

Giuseppe, you missed the change with '--help'.

(file #23953)

Sun 04 Sep 2011 11:58:55 AM UTC, comment #1:

Thanks for your report. It is fixed in the development version.

Giuseppe Scrivano <gscrivano>
Project AdministratorIn charge of this item.
Fri 02 Sep 2011 02:31:20 PM UTC, original submission:

The changes of revision 2552 (http://bzr.savannah.gnu.org/lh/wget/trunk/revision/2552) introduced the following behaviour:

% LC_ALL=C wget -V
GNU Wget 1.13.3 built on linux-gnu.


(output is not terminated by a newline)

% echo $?

The --help output consists of a single line and returns exit code 3 as well:
% LC_ALL=C wget --help
GNU Wget 1.13.3, a non-interactive network retriever.

This breaks other applications which rely on the exit code.
The infopage designates exit code 3 as "File I/O error".



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #23953:  fix-printf-return.patch added by None (348B - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by gscrivano (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 06 Sep 2011 11:14:39 AM UTCNoneAttached File-=>Added fix-printf-return.patch, #23953
    Sun 04 Sep 2011 11:58:55 AM UTCgscrivanoStatusNone=>Fixed
      Assigned toNone=>gscrivano
      Planned ReleaseNone=>1.13.4

    Back to the top

    Powered by Savane 3.1-cleanup1