Changeset 2372 in MondoRescue
- Timestamp:
- Sep 8, 2009, 1:44:12 PM (15 years ago)
- Location:
- branches/2.2.10
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/rootfs/sbin/install-additional-tools
r2364 r2372 18 18 19 19 LogIt "Starting install-additional-tools" 20 mountdir=$GROOVY21 20 22 21 if [ ! "$GROOVY" ] ; then … … 24 23 exit 1 25 24 fi 25 26 mountdir=$GROOVY 26 27 27 28 if [ $mountdir = "/" ]; then -
branches/2.2.10/mondo/src/common/libmondo-mountlist.c
r2357 r2372 391 391 if (physical_drive_size < 0) { 392 392 mr_asprintf(tmp, " %s does not exist.", drive); 393 log_it(tmp); 393 394 mr_strcat(flaws_str, "%s", tmp); 394 395 res++; 395 log_msg(1, tmp);396 396 mr_free(tmp); 397 397 return(flaws_str); … … 500 500 } 501 501 502 if (res) { 502 if (res == 0) { 503 mr_free(flaws_str); 503 504 return (NULL); 504 505 } else { … … 549 550 log_msg(8, "Evaluating drive #%d (%s) within mountlist", i, drivelist->el[i].device); 550 551 tmp = evaluate_drive_within_mountlist(mountlist, drivelist->el[i].device); 551 if (tmp == NULL) {552 if (tmp != NULL) { 552 553 (*res)++; 553 554 }
Note:
See TracChangeset
for help on using the changeset viewer.