aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init/funcs/scap
diff options
context:
space:
mode:
Diffstat (limited to '.config/init/funcs/scap')
-rwxr-xr-x.config/init/funcs/scap4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/init/funcs/scap b/.config/init/funcs/scap
index 85a083f..f87eb93 100755
--- a/.config/init/funcs/scap
+++ b/.config/init/funcs/scap
@@ -7,8 +7,8 @@ xset q
archey3
sleep .2
-if [[ -f '/tmp/cap.mp4' ]]; then
- rm '/tmp/cap.mp4'
+if [[ -e '/tmp/cap.mp4' ]]; then
+ rm '/tmp/cap.mp4' || return 1
fi
echo 'recording...'