Debian Bug report logs - #549623
obexftp returns incorrect exit code

version graph

Package: obexftp; Maintainer for obexftp is Hendrik Sattler <debian@hendrik-sattler.de>; Source for obexftp is src:obexftp.

Reported by: MP <singularita@gmail.com>

Date: Sun, 4 Oct 2009 23:45:02 UTC

Severity: normal

Found in version obexftp/0.23-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Hendrik Sattler <debian@hendrik-sattler.de>:
Bug#549623; Package obexftp. (Sun, 04 Oct 2009 23:45:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to MP <singularita@gmail.com>:
New Bug report received and forwarded. Copy sent to Hendrik Sattler <debian@hendrik-sattler.de>. (Sun, 04 Oct 2009 23:45:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: MP <singularita@gmail.com>
To: submit@bugs.debian.org
Subject: obexftp returns incorrect exit code
Date: Mon, 5 Oct 2009 01:36:39 +0200
Package: obexftp
Version: 0.23-1

I found that upgrading obexftp from 0.22-1+b1 to 0.23-1 broke obexftp-frontend.

I found the cause is that command:
obexftp --usb 0 --chdir / --list
in both versions (0.22 and 0.23) returns correct (and identical)
listing of files on my cellphone, however, the 0.22 version returns 0
as exit code of the process, while 0.23 version returns 255. As common
convention is that exit code==0 -> succes, exit code !=0 -> failure
and obexftp-frontent relies on that, that causes obexftp not to work
correctly with obexftp-frontend.




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 06:53:04 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.