mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
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>
This commit is contained in:
committed by
Jani Heikkinen
parent
31a0826fe8
commit
786be66eaf
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user