]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
bin/xlockscreen: fix typo in variable name
authorSimon Ruderich <simon@ruderich.org>
Mon, 24 Aug 2015 10:03:21 +0000 (12:03 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 24 Aug 2015 10:03:21 +0000 (12:03 +0200)
bin/xlockscreen

index 741d6f12cb8980f8c7c0895ee8a5079740d4b0cc..88dbee5f1fcd58bcbcbd0967d1b137cea8f54f73 100755 (executable)
@@ -57,13 +57,13 @@ if test x"$1" = xstart; then
         xscreensaver >/dev/null &
         echo xscreensaver
     elif installed xautolock; then
-        if installed "$lock_bin"; then
+        if installed "$lock_binary"; then
             xautolock -secure -time "$lock_time_minutes" \
                       -locker "$lock_binary" \
                       >/dev/null &
             echo xautolock
         else
-            echo "Locker '$lock_bin' not installed. Auto lock won't work!"
+            echo "Locker '$lock_binary' not installed. Auto lock won't work!"
             exit 1
         fi
     else