[Samba] smbclient always returns 0 on exit

Richard rhw at shspost.co.uk
Mon Jun 23 16:59:44 GMT 2003


hey

i am trying to write a simple shell script to push some files around the
network, but i can't seem to catch any errors in  smbclient, it returns a 0
even if file transfer fails, host can't be found, whatever...

does anyone know a way around this? please help.

richard.




More information about the samba mailing list