Changeset 3613 in MondoRescue for branches/3.2/mondo/src/common/libmondo-tools.c
- Timestamp:
- Nov 18, 2016, 5:31:42 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-tools.c
r3610 r3613 107 107 bool is_valid = TRUE; 108 108 109 log_it("ASSERTION FAILED: `%s' at %s:%d in %s", exp, file, line, 110 function); 109 log_it("ASSERTION FAILED: `%s' at %s:%d in %s", exp, file, line, function); 111 110 if (ignoring_assertions) { 112 111 log_it("Well, the user doesn't care..."); … … 143 142 */ 144 143 case '\n': 145 printf 146 ("(I)gnore, ignore (A)ll, (D)ebug, a(B)ort, or (E)xit? "); 144 printf("(I)gnore, ignore (A)ll, (D)ebug, a(B)ort, or (E)xit? "); 147 145 break; 148 146 default: … … 938 936 if (system("which " MKE2FS_OR_NEWFS " > /dev/null 2> /dev/null")) { 939 937 retval++; 940 log_to_screen 941 ("Unable to find " MKE2FS_OR_NEWFS " in system path."); 942 fatal_error 943 ("Please use \"su -\", not \"su\" to become root. OK? ...and please don't e-mail the mailing list or me about this. Just read the message. :)"); 938 log_to_screen("Unable to find " MKE2FS_OR_NEWFS " in system path."); 939 fatal_error("Please use \"su -\", not \"su\" to become root. OK?\n...and please don't e-mail the mailing list about this. Just read the message. :)"); 944 940 } 945 941 #ifndef __FreeBSD__ 946 if (run_program_and_log_output 947 ("grep ramdisk /proc/devices", FALSE)) { 942 if (run_program_and_log_output("grep ramdisk /proc/devices", FALSE)) { 948 943 /* Some SuSE have ramdisk as modules, so insert it first, then test again */ 949 944 run_program_and_log_output("modprobe brd 2> /dev/null > /dev/null",FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.