Scripts version 2112

This commit is contained in:
castro-fidel
2022-05-31 15:11:57 +03:00
parent 3ba7742e7f
commit 564ed9aaf6
3 changed files with 7 additions and 1 deletions

View File

@ -63,7 +63,7 @@ try_remove_dir () {
export -f try_remove_dir
try_force_link_file () {
if [ ! -f "$1" ] ; return 1
if [ ! -f "$1" ] ; then return 1
elif [ -z "$2" ] ; then print_error "no way to link file $1"
else
ln -sf "$1" "$2"