Changeset 3292 in MondoRescue for branches/3.2/mondo/src/common/libmondo-files.c
- Timestamp:
- May 27, 2014, 5:53:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-files.c
r3278 r3292 278 278 // If we didn't get anything back, check whether mindi raised a fatal error 279 279 if (!kernel[0]) { 280 mr_asprintf(command, " %s", "grep 'Fatal error' /var/log/mindi.log");280 mr_asprintf(command, "grep 'Fatal error' %s", MINDI_LOGFILE); 281 281 mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output(command)); 282 282 if (strlen(tmp) > 1) { … … 284 284 mr_free(tmp); 285 285 mr_free(command); 286 fatal_error("Mindi gave a fatal error. Please check '/var/log/mindi.log'.");286 fatal_error("Mindi gave a fatal error. Please check "MINDI_LOGFILE); 287 287 } 288 288 mr_free(tmp);
Note:
See TracChangeset
for help on using the changeset viewer.