diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/xorg_autolock | 2 | ||||
-rwxr-xr-x | bin/xorg_lock | 2 |
2 files changed, 2 insertions, 2 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 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 |