Changeset 2130


Ignore:
Timestamp:
Jan 21, 2009, 2:38:38 PM (11 years ago)
Author:
Bruno Cornec
Message:

pretty print

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/restore-scripts/mondo/mount-subroutine-me

    r1999 r2130  
    2020    mountdir="/mnt/RESTORING$mountpt"
    2121    if [ "$mounttype" = "swap" ] ; then
    22     swapon $partno
     22        swapon $partno
    2323    else
    2424        if [ -e "$mountdir" ] && [ ! -d "$mountdir" ] ; then
     
    3737        fi
    3838        LogIt "Mounting $partno..." 2
    39     if [ -e "/tmp/MOUNT-READONLY" ] ; then
     39        if [ -e "/tmp/MOUNT-READONLY" ] ; then
    4040            mount $partno -t $mounttype -o ro $mountdir
    4141        else
     
    4545            LogIt "Failed to mount $partno" 3
    4646        errors=$(($errors+1))
    47     fi
    48     res=`mount | grep "$partno"`
    49     if [ "$res" = "" ] ; then
    50         LogIt "I think I failed to mount $partno" 3
    51         errors=$(($errors+1))
    52     else
     47        fi
     48        res=`mount | grep "$partno"`
     49        if [ "$res" = "" ] ; then
     50            LogIt "I think I failed to mount $partno" 3
     51            errors=$(($errors+1))
     52        else
    5353            LogIt "$partno mounted ok." 2
    5454        fi
Note: See TracChangeset for help on using the changeset viewer.