aboutsummaryrefslogtreecommitdiffstats
path: root/bin/xorg_lock
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-01-23 00:22:15 +0100
committerDavid Runge <dave@sleepmap.de>2018-01-23 00:22:15 +0100
commitcf748cad1c27df2663e1524cf12ceda2d098c09f (patch)
tree6adaa52f92530119eb897d06f8da45c7755f2dd2 /bin/xorg_lock
parent7c59d64cf51bafe1114429b329b7a5fac719cf32 (diff)
downloaddotfiles-cf748cad1c27df2663e1524cf12ceda2d098c09f.tar.gz
dotfiles-cf748cad1c27df2663e1524cf12ceda2d098c09f.tar.bz2
dotfiles-cf748cad1c27df2663e1524cf12ceda2d098c09f.tar.xz
dotfiles-cf748cad1c27df2663e1524cf12ceda2d098c09f.zip
bin/xorg_*: Forcing removal of lock files (to not fail, if they're not around).
Diffstat (limited to 'bin/xorg_lock')
-rwxr-xr-xbin/xorg_lock2
1 files changed, 1 insertions, 1 deletions
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