Ignore:
Timestamp:
Nov 12, 2012, 4:35:55 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/client/client.c

    r593 r732  
    16691669        if (!NT_STATUS_IS_OK(status)) {
    16701670                d_fprintf(stderr, "cli_push returned %s\n", nt_errstr(status));
     1671                rc = 1;
    16711672        }
    16721673
     
    17011702        if (f == x_stdin) {
    17021703                cli_shutdown(cli);
    1703                 exit(0);
     1704                exit(rc);
    17041705        }
    17051706
     
    23052306
    23062307        if (!NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDWR, mode, &fnum))) {
    2307                 if (!NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) {
    2308                         d_printf("posix_open file %s: for read/write fnum %d\n", targetname, fnum);
     2308                if (NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) {
     2309                        d_printf("posix_open file %s: for readonly fnum %d\n", targetname, fnum);
    23092310                } else {
    23102311                        d_printf("Failed to open file %s. %s\n", targetname, cli_errstr(cli));
Note: See TracChangeset for help on using the changeset viewer.