1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 06:39:02 -08:00

consider empty arguments an error in grab

This commit is contained in:
Connor Olding 2024-07-10 05:42:07 -07:00
parent 2548a2ca0f
commit 8e3b5584bd

View file

@ -49,6 +49,8 @@ case "$fn" in
(..) false;;
([!\ -~]) false;;
([\":\<\>?\\\|]) false;;
(?*) true;;
(*) false;;
esac || die
touch -- "$fn" || die