Commit a48a9c75 authored by Jérome Perrin's avatar Jérome Perrin

slapos boot: fix error reporting when ipv6 is not available

parent ffd68ff4
...@@ -91,7 +91,7 @@ def _ping6(): ...@@ -91,7 +91,7 @@ def _ping6():
if p.returncode == 0: if p.returncode == 0:
print "[BOOT] IPv6 network reachable..." print "[BOOT] IPv6 network reachable..."
return 1 return 1
print "[BOOT] [ERROR] IPv4 network unreachable..." print "[BOOT] [ERROR] IPv6 network unreachable..."
return 0 return 0
class BootCommand(ConfigCommand): class BootCommand(ConfigCommand):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment