X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=lib.sh;h=0329a0f05a4cc85965ca36af9a07b4749ef58f1b;hp=1ce0c33c4e96468aab048bf1b40d3997ab486819;hb=78be217cf70604a6f241f35cc622a5153198c46a;hpb=7e0091dd9b0fe43ba8d078772d82174d861faed0 diff --git a/lib.sh b/lib.sh index 1ce0c33..0329a0f 100644 --- a/lib.sh +++ b/lib.sh @@ -168,7 +168,7 @@ link() { ln -s "$source" "$target" # Go back to the directory where we were before. - cd "$pwd" + cd "$pwd" || return 1 } # Generate a file from a source file using a given command. A warning not to