diff options
-rwxr-xr-x | bin/hstow | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ unstow () { dir_pat=".$(echo $DIR | cut -c$(echo $HOME | wc -m | tr -d ' ')-)/" dirs_pat="$(echo "^($dir_pat$ignores)" | sed -e 's#\.#\\.#g')" - for file in $(find . -type l ! -name . ! -name "$cchars" \ + for file in $(find . -type l ! -name . ! -name "$cchars" 2>/dev/null \ | grep -Ev "$dirs_pat"); do if readlink "$file" | grep -Eq '^(\.\./)*\.STOW/'"$NAME/"; then rm "$file" |