diff options
author | Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org> | 2014-10-30 11:27:56 +0100 |
---|---|---|
committer | Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org> | 2014-10-30 11:27:56 +0100 |
commit | 4e1bf3966e4c2917d997999d411134cb95dcaaaf (patch) | |
tree | 18b8894bb352c029428cc23375459e14e82b40c1 | |
parent | 9b4973013b41e34bc881f0825fe5669535db1692 (diff) | |
download | system-installer-4e1bf3966e4c2917d997999d411134cb95dcaaaf.tar.gz system-installer-4e1bf3966e4c2917d997999d411134cb95dcaaaf.tar.bz2 system-installer-4e1bf3966e4c2917d997999d411134cb95dcaaaf.zip |
add explicit message if network connection isn't availablesubmit/tizen_common/20141030.141126submit/tizen_common/20141030.110042
Change-Id: I0f5782cd5e9c52f4cd58df56b703c1c4704b9c01
Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
-rwxr-xr-x | scripts/system-installer | 5 |
1 files changed, 4 insertions, 1 deletions
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 } |