Changeset 797 in MondoRescue
- Timestamp:
- Sep 16, 2006, 5:36:20 AM (19 years ago)
- Location:
- branches/stable/mondo/mondo/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-fifo.c
r792 r797 243 243 paranoid_system("sync"); 244 244 sprintf(command, 245 "ps | grep -F \"%s\" | grep -Fv grep | awk '{print $1;}' | grep -v PID | tr -s '\n' ' ' | awk '{ print $1; }'", ps_options,245 "ps %s | grep -F \"%s\" | grep -Fv grep | awk '{print $1;}' | grep -v PID | tr -s '\n' ' ' | awk '{ print $1; }'", ps_options, 246 246 g_sz_call_to_buffer); 247 247 log_msg(2, "kill_buffer() --- command = %s", command); -
branches/stable/mondo/mondo/common/libmondo-fork.c
r684 r797 616 616 // if (bytes_read_in!=128+64) { fatal_error("Can't read the terminating block"); } 617 617 fwrite(tmp, 1, bytes_read_in, ftmp); 618 sprintf(tmp, "I am here - %ll u",ftello(fin));618 sprintf(tmp, "I am here - %lld", (long long)ftello(fin)); 619 619 // log_msg(0, tmp); 620 620 fread(tmp, 1, 512, fin); -
branches/stable/mondo/mondo/common/newt-specific.c
r792 r797 348 348 char *tmp = NULL; 349 349 350 asprintf(&tmp,"kill `ps %s | grep \" " %s "\" | awk '{print $1;}' | grep -vx \"\\?\"`", ps_options, str);350 asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print $1;}' | grep -vx \"\\?\"`", ps_options, str); 351 351 run_program_and_log_output(tmp, TRUE); 352 352 paranoid_free(tmp);
Note:
See TracChangeset
for help on using the changeset viewer.