1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-12 23:53:22 -07: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"