Changeset 262 in MondoRescue for trunk/mondo/mondo/common/libmondo-devices.c


Ignore:
Timestamp:
Dec 23, 2005, 5:25:52 PM (19 years ago)
Author:
bcornec
Message:

merge -r253:261 $SVN_M/branches/2.05

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-devices.c

    r252 r262  
    16971697                   call_program_and_get_last_line_of_output(command));
    16981698            paranoid_free(command);
     1699
     1700            asprintf(&comment,
     1701                    "How much data (in Megabytes) will each media store?");
     1702            if (!popup_and_get_string("Size", comment, sz_size, 5)) {
     1703                log_to_screen("User has chosen not to backup the PC");
     1704                finish(1);
     1705            }
     1706            for (i = 0; i <= MAX_NOOF_MEDIA; i++) {
     1707                bkpinfo->media_size[i] = atoi(sz_size);
     1708            }
     1709            if (bkpinfo->media_size[0] <= 0) {
     1710                log_to_screen("User has chosen not to backup the PC");
     1711                finish(1);
     1712            }
     1713            paranoid_free(comment);
    16991714        }
    17001715        if (bkpinfo->disaster_recovery) {
Note: See TracChangeset for help on using the changeset viewer.