vif-route-qubes: Check that the -e flag is set

Этот коммит содержится в:
Demi Marie Obenour 2020-12-07 14:08:32 -05:00
родитель a8588c4e9c
Коммит 9840953f5f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 28A45C93B0B5B6E0

Просмотреть файл

@ -134,6 +134,11 @@ if [ -n "$appvm_ip" ] && [ -n "$appvm_gw_ip" ] && [ "$appvm_ip" != "$netvm_ip" ]
. "$dir/vif-qubes-nat.sh"
fi
case $- in
(*e*) :;;
(*) echo '-e not set'>&2; exit 1;;
esac
# add anti-spoofing rules before enabling the interface
if [ "${ip}" ]; then
# If weve been given a list of IP addresses, then add routes from us to