Changeset 2589 in MondoRescue for branches


Ignore:
Timestamp:
Mar 11, 2010, 2:55:53 AM (14 years ago)
Author:
Bruno Cornec
Message:

r3721@localhost: bruno | 2010-03-09 22:59:21 +0100

  • Fix a printing issue on screen during modules analyze
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2588 r2589  
    745745        r=`find /lib/modules/$kern -type f | grep "/${module}\..*o" | tail -n1`
    746746        if [ -z "$r" ]; then
    747             if [ "`echo "$MODULES" | grep -w $module`" ]; then
     747            echo "$MODULES" | grep -wq $module
     748            if [ $? -ne 0 ]; then
    748749                r="[live module file not found]"
    749750            else
     
    18611862            rm -f $bigdir/tmp/i-want-my-lvm
    18621863        else
    1863             echo "Your i-want-my-lvm file content is:" >> $LOGFILE
    1864             echo "-----------------------------------" >> $LOGFILE
     1864            LogFile "Your i-want-my-lvm file content is:"
     1865            LogFile "-----------------------------------"
    18651866            cat  $bigdir/tmp/i-want-my-lvm >> $LOGFILE
    1866             echo "-----------------------------------" >> $LOGFILE
     1867            LogFile "-----------------------------------"
    18671868        fi
    18681869    fi
Note: See TracChangeset for help on using the changeset viewer.