Had some strange error on some systems concerning awk syntax

This commit is contained in:
erdgeist 2006-05-03 13:00:40 +00:00
parent d6e294a4b2
commit dd8855ee99

View File

@ -71,7 +71,7 @@ fetchjailinfo () {
eval ezjail_ip=\"\$jail_${ezjail_safename}_ip\"
ezjail_softlink=${ezjail_jaildir}/`basename -- ${ezjail_rootdir}`
ezjail_id=`jls | grep " ${ezjail_hostname} " | head -n 1 | awk {'print $1'}`
ezjail_id=`jls | grep " ${ezjail_hostname} " | head -n 1 | awk '{print $1}'`
}
# fill the base jail - this function is used by install and update