diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2006-05-03 13:00:40 +0000 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2006-05-03 13:00:40 +0000 |
| commit | dd8855ee99b3744a05f75780dd46db01f734778c (patch) | |
| tree | 447c2a23ea156f0481f798d0f71def648e2476e8 | |
| parent | d6e294a4b21eb803606a0dd618a95faf8d2420f8 (diff) | |
Had some strange error on some systems concerning awk syntax
| -rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 267cd5d..3e665f4 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
| @@ -71,7 +71,7 @@ fetchjailinfo () { | |||
| 71 | eval ezjail_ip=\"\$jail_${ezjail_safename}_ip\" | 71 | eval ezjail_ip=\"\$jail_${ezjail_safename}_ip\" |
| 72 | 72 | ||
| 73 | ezjail_softlink=${ezjail_jaildir}/`basename -- ${ezjail_rootdir}` | 73 | ezjail_softlink=${ezjail_jaildir}/`basename -- ${ezjail_rootdir}` |
| 74 | ezjail_id=`jls | grep " ${ezjail_hostname} " | head -n 1 | awk {'print $1'}` | 74 | ezjail_id=`jls | grep " ${ezjail_hostname} " | head -n 1 | awk '{print $1}'` |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | # fill the base jail - this function is used by install and update | 77 | # fill the base jail - this function is used by install and update |
