Poll iptables errors only on running ProxyVM. #133
This commit is contained in:
parent
0a8679868a
commit
4881188b46
@ -827,7 +827,7 @@ class VmManagerWindow(QMainWindow):
|
|||||||
qvm_collection.unlock_db()
|
qvm_collection.unlock_db()
|
||||||
|
|
||||||
for vm in qvm_collection.values():
|
for vm in qvm_collection.values():
|
||||||
if vm.is_proxyvm():
|
if vm.is_proxyvm() and vm.is_running():
|
||||||
error_file = "/local/domain/{0}/qubes_iptables_error".format(vm.get_xid())
|
error_file = "/local/domain/{0}/qubes_iptables_error".format(vm.get_xid())
|
||||||
|
|
||||||
error = subprocess.Popen(
|
error = subprocess.Popen(
|
||||||
|
Loading…
Reference in New Issue
Block a user