Changeset 273 in MondoRescue for branches/2.06/mondo/mondo/common/libmondo-files.c
- Timestamp:
- Jan 3, 2006, 4:09:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mondo/mondo/common/libmondo-files.c
r234 r273 845 845 sprintf(mountlist, "%s/mountlist.txt", tmpdir); 846 846 sprintf(command, 847 " cat %s/mountlist.txt | grep \"%s \" | head -n1 | awk '{print $4;}'",848 tmpdir, dev);847 "grep \"%s \" %s/mountlist.txt | head -n1 | awk '{print $4}'", 848 dev, tmpdir); 849 849 log_it(command); 850 850 strcpy(sz_res, call_program_and_get_last_line_of_output(command));
Note:
See TracChangeset
for help on using the changeset viewer.