From f3e1646382f1116f92c89ba28118bd916689ee4f Mon Sep 17 00:00:00 2001 From: Lassulus Date: Wed, 11 May 2011 19:12:22 +0200 Subject: fixed indent bug --- .scripts/retiolum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.scripts/retiolum.py') diff --git a/.scripts/retiolum.py b/.scripts/retiolum.py index 4c955b86..51e7a215 100755 --- a/.scripts/retiolum.py +++ b/.scripts/retiolum.py @@ -22,7 +22,7 @@ def address2hostfile(netname, hostname, address): #adds address to hostsfile or addr_file.close logging.info("sending ALRM to tinc deamon!") tincd_ALRM = subprocess.call(["tincd -n " + netname + " --kill=HUP" ],shell=True) - else: + else: recover = subprocess.os.popen("tar xzf /etc/tinc/" + netname + "/hosts/hosts.tar.gz -C /etc/tinc/" + netname + "/hosts/ " + hostname) def findhostinlist(hostslist, hostname, ip): #finds host + ip in list -- cgit v1.2.3