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

add missing argument check

This commit is contained in:
Connor Olding 2021-07-31 16:15:07 -07:00
parent 1941e3253d
commit 831536107c

View file

@ -95,6 +95,7 @@ softlink_pseudo() {
find_new_files() {
: "${1:?missing argument}"
: "${2:?missing argument}"
list_files "$1" | while read -r f; do
local d1="$1/$f"
local d2="$2/$f"