diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/get.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/get.sh b/include/get.sh index 6aed0a8d..b842d768 100644 --- a/include/get.sh +++ b/include/get.sh @@ -128,8 +128,7 @@ try_curl() try_copy() { - [ -L "$2" ] && printf "symlink %s (trycp %s)\n" "$2" "$*" && return 1 - [ ! -f "$2" ] && printf "%s missing (trycp %s)\n" "$2" "$*" && return 1 + e "$2" f missing && return 1; : ( x_ cp "$2" "$1" ) || return 1; : } |