Changeset 1847


Ignore:
Timestamp:
Jan 4, 2008, 3:37:12 PM (11 years ago)
Author:
bruno
Message:

Only ask for size in NFS mode at backup time (report from Brian McKee?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/common/libmondo-devices.c

    r1819 r1847  
    21642164                   call_program_and_get_last_line_of_output(command));
    21652165
    2166             sprintf(comment,
     2166            if (!bkpinfo->restore_data) {
     2167                sprintf(comment,
    21672168                    "How much data (in Megabytes) will each media store?");
    2168             if (!popup_and_get_string("Size", comment, sz_size, 5)) {
    2169                 log_to_screen("User has chosen not to backup the PC");
    2170                 finish(1);
     2169                if (!popup_and_get_string("Size", comment, sz_size, 5)) {
     2170                    log_to_screen("User has chosen not to backup the PC");
     2171                    finish(1);
     2172                }
     2173            } else {
     2174                sz_size = 0;
    21712175            }
    21722176            for (i = 0; i <= MAX_NOOF_MEDIA; i++) {
Note: See TracChangeset for help on using the changeset viewer.