Changeset 83a7467


Ignore:
Timestamp:
02/10/14 16:02:59 (8 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.0
Children:
b178bf3
Parents:
b7769fb
Message:

Backport fix to call mount a single time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbime/pbimount

    rb7769fb r83a7467  
    55MNTSLEEP="sleep 0.3" 
    66 
     7# Grab list of current mounted file-systems 
     8mntOutput="`mount`" 
     9 
    710is_mounted() { 
    811   if [ ! -d "${1}" ] ; then return 1; fi 
    9    sync ; sleep 0.1 
    10    mount | grep -q "on ${1} ("  
     12   echo ${mntOutput} | grep -q "on ${1} (" 
    1113   return $? 
    1214} 
Note: See TracChangeset for help on using the changeset viewer.