Ignore:
Timestamp:
02/11/13 21:58:48 (11 years ago)
Author:
obi
Message:

fix mediadb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/mc/mc_main.h

    r19549 r20034  
    122122                system("emu.sh halt");
    123123
     124        if(!file_exist(getconfig("mediadbpath", NULL)))
     125                mkdir(getconfig("mediadbpath", NULL), 0777);
     126               
    124127        debug(50, "drop_caches");
    125128        writesysint("/proc/sys/vm/drop_caches", 3, 0);
Note: See TracChangeset for help on using the changeset viewer.