Poll iptables errors only on running ProxyVM. #133

This commit is contained in:
Tomasz Sterna 2011-03-27 17:19:56 +02:00 committed by Joanna Rutkowska
parent 0a8679868a
commit 4881188b46

View File

@ -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(