summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoni Jantti <joni.jantti@qt.io>2018-01-10 10:02:32 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2018-01-19 05:25:09 +0000
commit786be66eaf2bf35c75ca534930cbc87c52634e8d (patch)
tree9e8d07c31d9f29adfad35c8b12171c479ce8ec72
parent31a0826fe8cf56bb7c24ee615eecea7c6a393cba (diff)
Move exception throw to the correct line
This throw was placed on the echo line instead of the actual command. Change-Id: I907c2ce17afa64c9c4ef628d766d7dfe270ade59 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh
index 60e637b7..5d36f57b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh
@@ -52,8 +52,8 @@ ExceptionProxy=104
try
(
- echo "Set timezone to UTC" || throw $ExceptionTimezone
- sudo timedatectl set-timezone Etc/UTC
+ echo "Set timezone to UTC."
+ sudo timedatectl set-timezone Etc/UTC || throw $ExceptionTimezone
echo "Timeout for blanking the screen (0 = never)"
gsettings set org.gnome.desktop.session idle-delay 0 || throw $ExceptionGsettings1
echo "Prevents screen lock when screesaver goes active."