Fix typo
This commit is contained in:
@@ -24,7 +24,7 @@ def result():
|
|||||||
def safe():
|
def safe():
|
||||||
app.logger.info('Initializing safe reboot process')
|
app.logger.info('Initializing safe reboot process')
|
||||||
|
|
||||||
# Try to ping the router 100 times
|
# Try to ping the router 50 times
|
||||||
for i in range(50):
|
for i in range(50):
|
||||||
if call(['ping', '-c', '1', url], stdout=DEVNULL, stderr=STDOUT) == 0:
|
if call(['ping', '-c', '1', url], stdout=DEVNULL, stderr=STDOUT) == 0:
|
||||||
app.logger.info('Router is online')
|
app.logger.info('Router is online')
|
||||||
|
Reference in New Issue
Block a user