diff --git a/kscreenlocker.changes b/kscreenlocker.changes index 339cb71..5918535 100644 --- a/kscreenlocker.changes +++ b/kscreenlocker.changes @@ -1,8 +1,7 @@ ------------------------------------------------------------------- Wed Jun 14 20:09:38 UTC 2017 - fabian@ritter-vogt.de -- Use SIGKILL for forcing greeter restart instead of SIGQUIT, - which does not seem to be enough. +- Fix the kscreenlocker_greet restart in %post ------------------------------------------------------------------- Tue Jun 13 21:35:01 CEST 2017 - fabian@ritter-vogt.de diff --git a/kscreenlocker.spec b/kscreenlocker.spec index 626ddb7..9225feb 100644 --- a/kscreenlocker.spec +++ b/kscreenlocker.spec @@ -116,8 +116,8 @@ exit 0 /usr/sbin/pam-config -d --unix2 || : /usr/sbin/pam-config -a --unix || : /sbin/ldconfig -if [ $1 = 1 ] && [ -f /run/kscreenlocker_restart ]; then - killall -KILL kscreenlocker_greet +if [ $1 = 2 ] && [ -f /run/kscreenlocker_restart ]; then + killall -TERM kscreenlocker_greet rm /run/kscreenlocker_restart fi exit 0