From 786be66eaf2bf35c75ca534930cbc87c52634e8d Mon Sep 17 00:00:00 2001 From: Joni Jantti Date: Wed, 10 Jan 2018 10:02:32 +0200 Subject: Move exception throw to the correct line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This throw was placed on the echo line instead of the actual command. Change-Id: I907c2ce17afa64c9c4ef628d766d7dfe270ade59 Reviewed-by: Konstantin Tokarev Reviewed-by: Edward Welbourne Reviewed-by: Tony Sarajärvi --- coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coin/provisioning') 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." -- cgit v1.2.3