Changeset 2704 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-filelist.c
- Timestamp:
- Jan 27, 2011, 7:31:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-filelist.c
r2696 r2704 874 874 log_msg(6, "tmp = %s", tmp); 875 875 876 tmp1 = call_program_and_get_last_line_of_output(tmp );876 tmp1 = call_program_and_get_last_line_of_output(tmp,TRUE); 877 877 mr_free(tmp); 878 878 … … 1377 1377 1378 1378 mr_asprintf(tmp, "wc -l %s | awk '{print $1;}'", g_skeleton_filelist); 1379 tmp1 = call_program_and_get_last_line_of_output(tmp );1379 tmp1 = call_program_and_get_last_line_of_output(tmp,TRUE); 1380 1380 mr_free(tmp); 1381 1381 … … 1545 1545 } 1546 1546 make_hole_for_file(sz_datefile); 1547 tmp1 = call_program_and_get_last_line_of_output("date +%s" );1547 tmp1 = call_program_and_get_last_line_of_output("date +%s",TRUE); 1548 1548 write_one_liner_data_file(sz_datefile, tmp1); 1549 1549 mr_free(tmp1); … … 1572 1572 } 1573 1573 log_msg(1, "Calculating filelist"); 1574 tmp2 = call_program_and_get_last_line_of_output("mount | grep -Ew 'ntfs|ntfs-3g|fat|vfat|dos' | awk '{print $3}'" );1574 tmp2 = call_program_and_get_last_line_of_output("mount | grep -Ew 'ntfs|ntfs-3g|fat|vfat|dos' | awk '{print $3}'",TRUE); 1575 1575 if (strlen(tmp2) < 1) { 1576 1576 mr_asprintf(tmp1," "); … … 1579 1579 mr_asprintf(tmp1, "find %s -name '/win386.swp' -o -name '/hiberfil.sys' -o -name '/pagefile.sys' 2> /dev/null\n",tmp2); 1580 1580 mr_free(tmp2); 1581 tmp2 = call_program_and_get_last_line_of_output(tmp1 );1581 tmp2 = call_program_and_get_last_line_of_output(tmp1,TRUE); 1582 1582 log_msg(2, "Found windows files: %s",tmp2); 1583 1583 }
Note:
See TracChangeset
for help on using the changeset viewer.