Have you seen the Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549623 ?
obexftp returns a non-zero exit status even when it has succeeded. This breaks all my automatic scripts as then rely on the exit status to tell whether to continue.
:; obexftp -bluetooth 00:17:xx:xx:xx:xx -list
Browsing 00:17:E5:0C:EA:70 …
Tried to connect for 40ms
Receiving "(null)"…|<?xml version="1.0"?>
<!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd"
[<!ATTLIST folder mem-type CDATA #IMPLIED>
<!ATTLIST folder label CDATA #IMPLIED> ]>
<folder name="C:" user-perm="RW" mem-type="DEV" label="Phone memory"/>
:; echo $?
The exit code should be 0 as the command worked.
Could this be fixed? thanks!
Christian W. Zuckschwerdt
Thanks. Yes, I'm on it. Hendrik already forwarded the report :)