add explicit message if network connection isn't available 08/29608/1 submit/tizen_common/20141030.110042 submit/tizen_common/20141030.141126
authorNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Thu, 30 Oct 2014 10:27:56 +0000 (11:27 +0100)
committerNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Thu, 30 Oct 2014 10:27:56 +0000 (11:27 +0100)
Change-Id: I0f5782cd5e9c52f4cd58df56b703c1c4704b9c01
Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
scripts/system-installer

index db90e3d..f17004e 100755 (executable)
@@ -89,7 +89,10 @@ function test_connection {
     sleep 5
        until curl --connect-timeout 10 -s "http://download.tizen.org/" > /dev/null; do
                $wifi_util && break
-               [ $? -eq 1 ] && sigint_handler
+               if [ $? -eq 1 ]; then
+            $DIALOG --msgbox "No network connection available. Please check your network environment." 15 70
+             sigint_handler
+        fi
        done
 }