Changeset 3161 in MondoRescue for branches/3.1/mondo/src/mondorestore/mondo-rstr-newt.c
- Timestamp:
- Jun 25, 2013, 10:53:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mondo/src/mondorestore/mondo-rstr-newt.c
r3147 r3161 531 531 assert(raidrec != NULL); 532 532 533 system("grep Pers /proc/mdstat > /tmp/raid-personalities.txt 2> /dev/null"); 533 if (system("grep Pers /proc/mdstat > /tmp/raid-personalities.txt 2> /dev/null")) { 534 // FIXME 535 } 534 536 personalities = last_line_of_file("/tmp/raid-personalities.txt"); 535 537 mr_asprintf(prompt, "Please enter the RAID level you want. %s", personalities); … … 2272 2274 char *q = NULL; 2273 2275 char *r = NULL; 2274 char *s = NULL;2275 2276 char *idev = NULL; 2276 2277 bool ret = FALSE; /* Should be false by default, and modfiy if conditions respected */
Note:
See TracChangeset
for help on using the changeset viewer.