Ignore:
Timestamp:
Nov 29, 2012, 1:59:04 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/smbd/server_exit.c

    r745 r751  
    8484        const char *const reason)
    8585{
    86         bool had_open_conn = false;
    8786        struct smbd_server_connection *sconn = smbd_server_conn;
    8887
     
    102101                        files_forall(sconn, log_writeable_file_fn, &found);
    103102                }
    104                 had_open_conn = conn_close_all(sconn);
     103                (void)conn_close_all(sconn);
    105104                invalidate_all_vuids(sconn);
    106105        }
     
    176175                dump_core();
    177176
     177                /* Notreached. */
     178                exit(1);
    178179        } else {
    179180                DEBUG(3,("Server exit (%s)\n",
     
    185186        }
    186187
    187         /* if we had any open SMB connections when we exited then we
    188            need to tell the parent smbd so that it can trigger a retry
    189            of any locks we may have been holding or open files we were
    190            blocking */
    191         if (had_open_conn) {
    192                 exit(1);
    193         } else {
    194                 exit(0);
    195         }
     188        exit(0);
    196189}
    197190
Note: See TracChangeset for help on using the changeset viewer.