]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bin/xlockscreen
bin/xlockscreen: use exec where possible
[config/dotfiles.git] / bin / xlockscreen
index 3cd3be7a9822860821fc5ea632dbf02290a3f2e2..2997692652d50037bf33fbf6cc607b98aa2a42eb 100755 (executable)
@@ -89,9 +89,9 @@ elif test x"$1" = xlock; then
     elif installed xtrlock; then
         # Sleep is necessary to allow xtrlock to grab the keyboard input.
         sleep 1
-        xtrlock
+        exec xtrlock
     elif installed xlock; then
-        xlock
+        exec xlock
     else
         echo 'No screen locker found!'
         exit 1