summaryrefslogtreecommitdiff
path: root/bin/hstow
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hstow')
-rwxr-xr-xbin/hstow2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hstow b/bin/hstow
index 5fb58a3a..c1302db6 100755
--- a/bin/hstow
+++ b/bin/hstow
@@ -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"