Changeset 2371 in MondoRescue
- Timestamp:
- Sep 8, 2009, 1:40:25 PM (16 years ago)
- Location:
- branches/2.2.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/rootfs/sbin/install-additional-tools
r2363 r2371 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.9/mondo/src/common/libmondo-mountlist.c
r2350 r2371 375 375 if (physical_drive_size < 0) { 376 376 sprintf(tmp, " %s does not exist.", drive); 377 log_it(tmp); 377 378 mr_strcat(flaws_str, "%s", tmp); 378 379 res++; 379 log_msg(1, tmp);380 380 goto endoffunc; 381 381 } else { … … 481 481 paranoid_free(device); 482 482 483 if (res) { 483 if (res == 0) { 484 mr_free(flaws_str); 484 485 return (NULL); 485 486 } else { … … 532 533 log_msg(8, "Evaluating drive #%d (%s) within mountlist", i, drivelist->el[i].device); 533 534 tmp = evaluate_drive_within_mountlist(mountlist, drivelist->el[i].device); 534 if (tmp == NULL) {535 if (tmp != NULL) { 535 536 (*res)++; 536 537 }
Note:
See TracChangeset
for help on using the changeset viewer.