small change to the while true loop for making linspector interruptable using ctrl-c
This commit is contained in:
parent
44b96d441f
commit
e4a4263d44
1 changed files with 4 additions and 6 deletions
|
|
@ -73,12 +73,10 @@ def main():
|
||||||
log.d(str(job))
|
log.d(str(job))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
try:
|
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
for job in jobs:
|
for job in jobs:
|
||||||
log.d(str(job))
|
log.d(str(job))
|
||||||
except:
|
|
||||||
print "error"
|
|
||||||
|
|
||||||
elif args.action == "stop":
|
elif args.action == "stop":
|
||||||
log.i("stopping linspector is currently unsupported")
|
log.i("stopping linspector is currently unsupported")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue