Changeset 1336 in MondoRescue


Ignore:
Timestamp:
Apr 24, 2007, 3:20:43 PM (17 years ago)
Author:
Bruno Cornec
Message:

mindi log file only added to mondo logfile when useful (for --custom not for other options)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.3/mindi/mindi

    r1335 r1336  
    29132913    if [ "$1" = "--findkernel" ] ; then
    29142914        res=`TryToFindKernelPath`
     2915        # Avoids logfile content for mondo
     2916        export MONDO_SHARE=""
    29152917        if [ "$res" = "" ] ; then
    29162918            MindiExit -1
     
    29222924        [ ! "$2" ] && Die "Please specify the output file"
    29232925        MakeMountlist $2
     2926        # Avoids logfile content for mondo
     2927        export MONDO_SHARE=""
    29242928        MindiExit $?
    29252929    elif [ "$1" = "-V" ] || [ "$1" = "-v" ] || [ "$1" = "--version" ] || [ "$1" = "-version" ] ; then
    29262930        echo "Mindi v$MINDI_VERSION"
     2931        # Avoids logfile content for mondo
     2932        export MONDO_SHARE=""
    29272933        MindiExit 0
    29282934    elif [ "$#" -ge "9" ] && [ "$1" = "--custom" ] ; then
Note: See TracChangeset for help on using the changeset viewer.