PennMUSH Community

Changeset 1056

Show
Ignore:
Timestamp:
08/05/07 01:41:06 (1 year ago)
Author:
shawnw
Message:

Don't display dump_complete on a failed save.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.2/branches/devel/CHANGES.182

    r1045 r1056  
    1818Fixes: 
    1919  * Clarified the behavior of eval() and get_eval() in help. 
    20     Suggested by  Talvo and Javelin. 
     20    Suggested by Talvo and Javelin. 
     21  * A failed db save no longer broadcasts a success message 
     22    in addition to a failure one. Reported by Cooee. 
    2123 
    2224Version 1.8.2 patchlevel 6                       July 9, 2007 
  • 1.8.2/branches/devel/src/game.c

    r1010 r1056  
    522522 
    523523  do_rawlog(LT_ERR, "DUMPING: %s.#%d#", globals.dumpfile, epoch); 
    524   dump_database_internal(); 
    525   do_rawlog(LT_ERR, "DUMPING: %s.#%d# (done)", globals.dumpfile, epoch); 
     524  if (!dump_database_internal()) 
     525    do_rawlog(LT_ERR, "DUMPING: %s.#%d# (done)", globals.dumpfile, epoch); 
    526526} 
    527527 
     
    616616    } else { 
    617617      reserve_fd(); 
    618       if (DUMP_NOFORK_COMPLETE && *DUMP_NOFORK_COMPLETE) 
     618      if (!status && DUMP_NOFORK_COMPLETE && *DUMP_NOFORK_COMPLETE) 
    619619        flag_broadcast(0, 0, "%s", DUMP_NOFORK_COMPLETE); 
    620620    }