diff options
author | David Runge <dave@sleepmap.de> | 2018-01-23 00:22:15 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2018-01-23 00:22:15 +0100 |
commit | cf748cad1c27df2663e1524cf12ceda2d098c09f (patch) | |
tree | 6adaa52f92530119eb897d06f8da45c7755f2dd2 /bin/xorg_autolock | |
parent | 7c59d64cf51bafe1114429b329b7a5fac719cf32 (diff) | |
download | dotfiles-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_autolock')
-rwxr-xr-x | bin/xorg_autolock | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/xorg_autolock b/bin/xorg_autolock index 5f7199a..f30ae3e 100755 --- a/bin/xorg_autolock +++ b/bin/xorg_autolock @@ -6,7 +6,7 @@ lock=${XDG_RUNTIME_DIR}/xorg_autolock.lock lock_block=${XDG_RUNTIME_DIR}/xorg_autolock_block lockafter=600000 -rm ${lock} ${lock_block} +rm -f ${lock} ${lock_block} while [ 1 ]; do if [ ! -f ${lock} -a ! -f ${lock_block} ];then |