Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/utils/status.c

    r30 r124  
    368368                int ret;
    369369
     370                tdb = tdb_open_log(lock_path("locking.tdb"), 0, TDB_DEFAULT, O_RDONLY, 0);
     371
     372                if (!tdb) {
     373                        d_printf("%s not initialised\n", lock_path("locking.tdb"));
     374                        d_printf("This is normal if an SMB client has never connected to your server.\n");
     375                        exit(0);
     376                } else {
     377                        tdb_close(tdb);
     378                }
     379
    370380                if (!locking_init(1)) {
    371381                        d_printf("Can't initialise locking module - exiting\n");
Note: See TracChangeset for help on using the changeset viewer.