[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#238196: marked as done (atftp always exits with exit code 0 when called in batch mode)

Your message dated Fri, 17 Sep 2004 06:47:07 -0400
with message-id <E1C8GGh-0002OP-00@newraff.debian.org>
and subject line Bug#238196: fixed in atftp 0.7-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 15 Mar 2004 21:36:37 +0000
>From sven@pantoffel-wg.de Mon Mar 15 13:36:37 2004
Return-path: <sven@pantoffel-wg.de>
Received: from relay.uni-heidelberg.de [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B2zlF-0005T3-00; Mon, 15 Mar 2004 13:36:37 -0800
Received: from ix.urz.uni-heidelberg.de (popix.urz.uni-heidelberg.de [])
	by relay.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id i2FLaYiv025557
	for <submit@bugs.debian.org>; Mon, 15 Mar 2004 22:36:35 +0100 (MET)
Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [])
	by ix.urz.uni-heidelberg.de (8.8.8/8.8.8) with SMTP id WAA3530820
	for <submit@bugs.debian.org>; Mon, 15 Mar 2004 22:36:34 +0100
Received: (qmail 25699 invoked by uid 0); 15 Mar 2004 21:36:33 -0000
Received: from ? (HELO andrea.suspekt) (
  by extmail.urz.uni-heidelberg.de with SMTP; 15 Mar 2004 21:36:33 -0000
Received: from legolas.suspekt ([] helo=legolas)
	by andrea.suspekt with esmtp (Exim 3.35 #1 (Debian))
	id 1B2zl4-0001tJ-00; Mon, 15 Mar 2004 22:36:26 +0100
Received: from sven by legolas with local (Exim 4.30)
	id 1B2zl4-0001gx-7G; Mon, 15 Mar 2004 22:36:26 +0100
Content-Type: multipart/mixed; boundary="===============1542921232=="
MIME-Version: 1.0
From: Sven Marnach <sven@pantoffel-wg.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: atftp always exits with exit code 0 when called in batch mode
X-Mailer: reportbug 2.48
Date: Mon, 15 Mar 2004 22:36:26 +0100
Message-Id: <E1B2zl4-0001gx-7G@legolas>
Sender: Sven Marnach <sven@legolas>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_12

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: atftp
Severity: normal
Tags: patch


when called in batch mode, like in the line

  atftp -g -r <filename> <server>

atftp always exits with exit code 0, even if all or part of the
actions fail.  This is annoying because you only really need the exit
code when you call atftp in batch mode.  I've attached a simple patch.


P.S.:  Greetings from Nick.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-k7
Locale: LANG=C, LC_CTYPE=de_DE@euro

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="a"

--- tftp.c.old  2003-06-20 04:09:26.000000000 +0200
+++ tftp.c      2004-03-15 22:19:38.000000000 +0100
@@ -927,7 +927,8 @@
           make_arg(string, &ac, &av);
-          process_cmd(ac, av);
+          if (process_cmd(ac, av) == ERR)
+               exit(ERR);
      return OK;


Received: (at 238196-close) by bugs.debian.org; 17 Sep 2004 10:54:16 +0000
>From katie@ftp-master.debian.org Fri Sep 17 03:54:16 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C8GNc-0001TY-00; Fri, 17 Sep 2004 03:54:16 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C8GGh-0002OP-00; Fri, 17 Sep 2004 06:47:07 -0400
From: Ludovic Drolez <ldrolez@debian.org>
To: 238196-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#238196: fixed in atftp 0.7-1
Message-Id: <E1C8GGh-0002OP-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 17 Sep 2004 06:47:07 -0400
Delivered-To: 238196-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 4

Source: atftp
Source-Version: 0.7-1

We believe that the bug you reported is fixed in the latest version of
atftp, which is due to be installed in the Debian FTP archive:

  to pool/main/a/atftp/atftp_0.7-1.diff.gz
  to pool/main/a/atftp/atftp_0.7-1.dsc
  to pool/main/a/atftp/atftp_0.7-1_i386.deb
  to pool/main/a/atftp/atftp_0.7.orig.tar.gz
  to pool/main/a/atftp/atftpd_0.7-1_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 238196@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Ludovic Drolez <ldrolez@debian.org> (supplier of updated atftp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Tue, 14 Sep 2004 18:50:20 +0200
Source: atftp
Binary: atftpd atftp
Architecture: source i386
Version: 0.7-1
Distribution: unstable
Urgency: low
Maintainer: Ludovic Drolez <ldrolez@debian.org>
Changed-By: Ludovic Drolez <ldrolez@debian.org>
 atftp      - Advanced TFTP client
 atftpd     - Advanced TFTP server
Closes: 155300 180461 227258 238196 263221
 atftp (0.7-1) unstable; urgency=low
   * New maintainer. Closes: Bug#227258.
   * New release. Closes: Bug#263221, Bug#155300, Bug#180461, Bug#238196.
 74e44865679c3b69d614d88e4baa87a5 615 net optional atftp_0.7-1.dsc
 3b27365772d918050b2251d98a9c7c82 202234 net optional atftp_0.7.orig.tar.gz
 3678b84e6cecdfc1cec48b88d8ab5876 3649 net optional atftp_0.7-1.diff.gz
 e630fb68c8b348ffd1dff31d810f5ca4 27544 net optional atftp_0.7-1_i386.deb
 f57eca2a57cd49d79c587781ce3362f6 63766 net optional atftpd_0.7-1_i386.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: