Changeset 2704 in MondoRescue for branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.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/mondorestore/mondo-rstr-tools.c
r2696 r2704 719 719 mr_free(value); 720 720 721 tmp = call_program_and_get_last_line_of_output("cat " CMDLINE );721 tmp = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 722 722 if (strstr(tmp, "pxe")) { 723 723 /* We need to override prefix value in PXE mode as it's … … 904 904 905 905 tmp = read_cfg_var(MINDI_CACHE"/mondorestore.cfg", "please-dont-eject"); 906 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE );906 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 907 907 if (tmp || strstr(tmp1, "donteject")) { 908 908 bkpinfo->please_dont_eject = TRUE; … … 938 938 } 939 939 } 940 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE );940 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 941 941 if (strstr(tmp1, "pxe")) { 942 942 mr_free(tmp1); … … 997 997 mr_asprintf(command, "mount | grep -E '^%s' | tail -n1 | cut -d' ' -f3", g_isodir_device); 998 998 log_it("command = %s", command); 999 iso_mnt = call_program_and_get_last_line_of_output(command );999 iso_mnt = call_program_and_get_last_line_of_output(command,TRUE); 1000 1000 log_it("res of it = %s", iso_mnt); 1001 1001 mr_free(command);
Note:
See TracChangeset
for help on using the changeset viewer.