Ignore:
Timestamp:
Apr 23, 2013 11:04:25 AM (15 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
e013d8d2
Parents:
acdf89b
Message:

Also fix same issue with wrong system version being used from uname -r

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/warden/scripts/backend/functions.sh

    r1620346 rce6fcd7  
    730730  local outfile="${2}" 
    731731 
    732   local release="$(uname -r)" 
     732  local release="$(uname -r | cut -d '-' -f 1-2)" 
    733733  local arch="$(uname -m)" 
    734734 
     
    757757  local outfile="${2}" 
    758758 
    759   local release="$(uname -r)" 
     759  local release="$(uname -r | cut -d '-' -f 1-2)" 
    760760  local arch="$(uname -m)" 
    761761 
     
    802802    jailtype="standard" 
    803803  fi 
    804   local release="$(uname -r)" 
     804  local release="$(uname -r | cut -d '-' -f 1-2)" 
    805805  local arch="$(uname -m)" 
    806806 
Note: See TracChangeset for help on using the changeset viewer.