Changeset 2331 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-archive.c
- Timestamp:
- Aug 18, 2009, 3:25:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-archive.c
r2330 r2331 404 404 if (bkpinfo->backup_media_type == dvd) { 405 405 #ifdef DVDRWFORMAT 406 if (!find_home_of_exe("dvd+rw-format")) { 407 fatal_error 408 ("Cannot find dvd+rw-format. Please install it or fix your PATH."); 409 } 406 tmp = find_home_of_exe("dvd+rw-format"); 407 if (!tmp) { 408 mr_free(tmp); 409 fatal_error("Cannot find dvd+rw-format. Please install it or fix your PATH."); 410 } 411 mr_free(tmp); 410 412 #endif 411 if (!find_home_of_exe("growisofs")) { 412 fatal_error 413 ("Cannot find growisofs. Please install it or fix your PATH."); 414 } 413 tmp = find_home_of_exe("growisofs"); 414 if (!tmp) { 415 mr_free(tmp); 416 fatal_error("Cannot find growisofs. Please install it or fix your PATH."); 417 } 418 mr_free(tmp); 415 419 } 416 420 … … 2877 2881 mr_asprintf(checksum_line, "IGNORE"); 2878 2882 log_msg(2, "Not calculating checksum for %s: it would take too long", biggie_filename); 2879 if ( !find_home_of_exe("ntfsresize")) { 2883 tmp = find_home_of_exe("ntfsresize"); 2884 if (!tmp) { 2885 mr_free(tmp); 2880 2886 fatal_error("ntfsresize not found"); 2881 2887 } 2888 mr_free(tmp); 2889 2882 2890 mr_asprintf(command, "ntfsresize --force --info %s|grep '^You might resize at '|cut -d' ' -f5", biggie_filename); 2883 2891 log_it("command = %s", command);
Note:
See TracChangeset
for help on using the changeset viewer.