Changeset 689 in MondoRescue for trunk/mondo/mondo/common/libmondo-archive.c
- Timestamp:
- Jul 17, 2006, 7:43:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-archive.c
r688 r689 433 433 if (bkpinfo->backup_media_type == dvd) { 434 434 #ifdef DVDRWFORMAT 435 if (!find_home_of_exe("dvd+rw-format")) { 435 tmp = find_home_of_exe("dvd+rw-format"); 436 if (!tmp) { 436 437 fatal_error 437 438 ("Cannot find dvd+rw-format. Please install it or fix your PATH."); 438 439 } 440 paranoid_free(tmp); 439 441 #endif 440 if (!find_home_of_exe("growisofs")) { 442 tmp = find_home_of_exe("growisofs"); 443 if (!tmp) { 441 444 fatal_error 442 445 ("Cannot find growisofs. Please install it or fix your PATH."); 443 446 } 447 paranoid_free(tmp); 444 448 } 445 449 … … 3056 3060 "Not calculating checksum for %s: it would take too long", 3057 3061 biggie_filename); 3058 if ( !find_home_of_exe("ntfsresize")) { 3062 tmp = find_home_of_exe("ntfsresize"); 3063 if ( !tmp) { 3059 3064 fatal_error("ntfsresize not found"); 3060 3065 } 3061 sprintf(command, "ntfsresize --force --info %s|grep '^You might resize at '|cut -d' ' -f5", biggie_filename); 3066 paranoid_free(tmp); 3067 3068 asprintf(&command, "ntfsresize --force --info %s|grep '^You might resize at '|cut -d' ' -f5", biggie_filename); 3062 3069 log_it("command = %s", command); 3063 3070 tmp = call_program_and_get_last_line_of_output(command); 3071 paranoid_free(command); 3072 3064 3073 log_it("res of it = %s", tmp); 3065 3074 totallength = (off_t)atoll(tmp);
Note:
See TracChangeset
for help on using the changeset viewer.