Bug 6658 - smbclient "rm" commands returns "0" when it can't find the file
smbclient "rm" commands returns "0" when it can't find the file
Status: NEW
Product: Samba 3.2
Classification: Unclassified
Component: Client tools
3.2.11
PPC Linux
: P3 enhancement
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-23 19:10 UTC by Abraham Alawi
Modified: 2009-08-23 19:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abraham Alawi 2009-08-23 19:10:12 UTC
smbclient "rm" commands returns "0" when it can't find the file. Shouldn't return non-zero value?

aalawi@wm:~/filesensor$ smbclient -A filesensor.cred -c "rm test_file" //rome.fos.auckland.ac.nz/filesensor$
Domain=[EC] OS=[Unix] Server=[Samba 3.2.11]
NT_STATUS_NO_SUCH_FILE listing \test_file
aalawi@wm:~/filesensor$ echo $?
0
aalawi@wm:~/filesensor