mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-25 18:24:58 +01:00
rename: fix repair num
This commit is contained in:
@@ -155,9 +155,9 @@ update_jailconf_vnet() {
|
||||
local new_jail_epair="e${epair_num}b_${old_if_suffix}"
|
||||
else
|
||||
get_bastille_epair_count
|
||||
local epair_num=1
|
||||
while echo "${BASTILLE_EPAIR_LIST}" | grep -oq "bastille${epair_num}"; do
|
||||
bastille_epair_num=$((epair_num + 1))
|
||||
local bastille_epair_num=1
|
||||
while echo "${BASTILLE_EPAIR_LIST}" | grep -oq "bastille${bastille_epair_num}"; do
|
||||
bastille_epair_num=$((bastille_epair_num + 1))
|
||||
done
|
||||
local new_host_epair="e${epair_num}a_bastille${bastille_epair_num}"
|
||||
local new_jail_epair="e${epair_num}b_bastille${bastille_epair_num}"
|
||||
|
||||
Reference in New Issue
Block a user