Fix unbound variable errors
This commit is contained in:
@@ -601,8 +601,9 @@ step_50() {
|
||||
}
|
||||
|
||||
checkVpn() {
|
||||
ip -br a | grep tun >>/dev/null 2>&1
|
||||
[ $? -eq 0 ] && warning "A VPN connection is possibly active. Consider deactivating it befor any apt operation."
|
||||
if ip -br a | grep tun >>/dev/null 2>&1 ; then
|
||||
[ $? -eq 0 ] && warning "A VPN connection is possibly active. Consider deactivating it befor any apt operation."
|
||||
fi
|
||||
}
|
||||
|
||||
readonly sqr_minVersion=16
|
||||
|
Reference in New Issue
Block a user