Ignore:
Timestamp:
11/07/13 10:13:07 (10 months ago)
Author:
Kris Moore <kris@…>
Branches:
9.2-release
Children:
1bac9dc
Parents:
0e61329
Message:

Backport a fix to get ZFS relative path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/libsh/functions.sh

    r7d497d1 r02d7a86  
    427427 
    428428   local _name="${_chkDir#${_mp}}" 
     429 
     430   # Make sure we have a '/' at the start of dataset 
     431   if [ "`echo ${_name} | cut -c 1`" != "/" ] ; then _name="/${_name}"; fi 
     432 
    429433   echo "${_name}" 
    430434   return 0 
Note: See TracChangeset for help on using the changeset viewer.