Changeset 2376 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-fifo.c
- Timestamp:
- Sep 9, 2009, 12:37:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-fifo.c
r2332 r2376 85 85 wise_upper_limit = (am_I_in_disaster_recovery_mode()? 8 : 32); 86 86 wise_lower_limit = 1; // wise_upper_limit/2 + 1; 87 paranoid_system("sync");87 sync(); 88 88 for (bufsize = wise_upper_limit, res = -1; 89 89 res != 0 && bufsize >= wise_lower_limit; bufsize--) { … … 162 162 return; 163 163 } 164 paranoid_system("sync");164 sync(); 165 165 mr_asprintf(command, "ps %s | grep -F \"%s\" | grep -Fv grep | awk '{print $2;}' | grep -v PID | head -1", ps_options, g_sz_call_to_buffer); 166 166 log_msg(2, "kill_buffer() --- command = %s", command);
Note:
See TracChangeset
for help on using the changeset viewer.