Changeset 2978 in MondoRescue


Ignore:
Timestamp:
Mar 30, 2012, 2:41:18 AM (12 years ago)
Author:
Bruno Cornec
Message:

r4599@localhost: bruno | 2012-03-28 18:38:02 +0200

  • Fix an error on excessive LogFile usage (with the params passed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r2976 r2978  
    152152# Should be declared here as used immediately below potentialy
    153153MindiExit() {
    154     LogFile "Mindi $MINDI_VERSION is exiting" >> $LOGFILE
    155     LogFile "End date : `date`" >> $LOGFILE
     154    echo "Mindi $MINDI_VERSION is exiting" >> $LOGFILE
     155    echo "End date : `date`" >> $LOGFILE
    156156    if [ _"$MONDO_SHARE" != _"" ] ; then
    157157        echo "------------- mindi logfile included -------------------------" >> /var/log/mondoarchive.log
     
    27742774LogFile "$ARCH architecture detected"
    27752775LogFile "mindi called with the following arguments:"
    2776 LogFile "$@"
     2776echo "$@">> $LOGFILE
    27772777LogFile "Start date : `date`"
    27782778LogFile "-----------------------------"
     
    29952995    elif [ "$1" = "--readalllink" ] ; then
    29962996        [ ! "$2" ] && Die "Please specify the binary to look at"
    2997         ReadAllLink $2
    29982997        # Avoids logfile content for mondo
    29992998        export MONDO_SHARE=""
     2999        ReadAllLink $2
    30003000        MindiExit $?
    30013001    elif [ "$1" = "--makemessage" ] ; then
Note: See TracChangeset for help on using the changeset viewer.