diff options
author | vuko <vuko@hackerspace.pl> | 2020-06-11 21:30:51 +0200 |
---|---|---|
committer | vuko <vuko@hackerspace.pl> | 2020-06-11 21:30:51 +0200 |
commit | 187426515f23623d45987742310ef300bd00f1d0 (patch) | |
tree | 7903434a064ff0cb6dfdc04d449fc75c3f4a39de | |
parent | 6f3ba0a61f7045985b911d48fa65e9ad27df3d5f (diff) | |
download | checkinator-187426515f23623d45987742310ef300bd00f1d0.tar.gz checkinator-187426515f23623d45987742310ef300bd00f1d0.tar.bz2 checkinator-187426515f23623d45987742310ef300bd00f1d0.zip |
fix infinite loop error
-rw-r--r-- | at.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -246,7 +246,7 @@ class DhcpdUpdater(MtimeUpdater): while True: # using readline because iter(file) blocks file.tell usage line = f.readline() - if not f: + if not line: return offset line = line.split('#')[0] cmd = line.strip().split() |