@ -14,8 +14,11 @@ if test -n "$ps"; then
fi
exec 2> /dev/null
pw=$1
if test -z "$pw"; then
if test -z "$1"; then
pw=$(cat ~/.slock_passwd)
exec slock -f ~/.slock_passwd
exit 1
exec slock -p "$pw"
exec slock -p "$1"
The note is not visible to the blocked user.