Changeset 23939


Ignore:
Timestamp:
09/27/13 17:25:27 (10 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/system_update.h

    r23925 r23939  
    286286                                                 mkdir("/mnt/swapextensions/logs", 777);
    287287
    288                                         if(file_exist("/etc/.beta") && file_exist("/mnt/swapextensions/logs"))
     288                                        if(file_exist("/etc/.beta") && file_exist("/mnt/swapextensions/logs") && getfreespace("/mnt/swapextensions/logs") / 1024 < 20))
    289289                                                cmd = ostrcat(cmd, " > /mnt/swapextensions/logs/update_debug.log 2>&1", 1, 0);
    290290
     
    309309                                        system(cmd);
    310310                                        //should only reached if system fails
    311                                         textbox(_("Message"), _("Can't start system update\nPlease remove Stick/HDD and try again"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);
     311                                        textbox(_("Message"), _("Can't start system update\nSyntax Error on updatefile"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);
    312312                                        debug(40, "update error cmd: %s", cmd);
    313313                                        drawscreen(systemupdate, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.