From cf748cad1c27df2663e1524cf12ceda2d098c09f Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 23 Jan 2018 00:22:15 +0100 Subject: bin/xorg_*: Forcing removal of lock files (to not fail, if they're not around). --- bin/xorg_lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/xorg_lock') diff --git a/bin/xorg_lock b/bin/xorg_lock index d7a5d52..648099e 100755 --- a/bin/xorg_lock +++ b/bin/xorg_lock @@ -8,7 +8,7 @@ lockcmd="i3lock -n -e -c 000000 -f" if [ -x "/usr/bin/i3lock" ]; then touch ${lock} ${lockcmd} - rm ${lock} + rm -f ${lock} else echo "i3lock is not installed!" exit 1 -- cgit v1.2.3-70-g09d2