From: Nicolas Zingilé Date: Thu, 30 Oct 2014 10:27:56 +0000 (+0100) Subject: add explicit message if network connection isn't available X-Git-Tag: submit/tizen_common/20141030.110042^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F29608%2F1;p=profile%2Fcommon%2Fsystem-installer.git add explicit message if network connection isn't available Change-Id: I0f5782cd5e9c52f4cd58df56b703c1c4704b9c01 Signed-off-by: Nicolas Zingilé --- diff --git a/scripts/system-installer b/scripts/system-installer index db90e3d..f17004e 100755 --- a/scripts/system-installer +++ b/scripts/system-installer @@ -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 }