diff --git a/.config/shell/bin/rm-prefer-trash b/.config/shell/bin/rm-prefer-trash index 6287751..a0f0a4d 100755 --- a/.config/shell/bin/rm-prefer-trash +++ b/.config/shell/bin/rm-prefer-trash @@ -110,9 +110,9 @@ do_rmtrash() { fi fi done + trashdir='' if [ "$fs1" != '' ]; then # if we get here, we have validated that all the files are on the same filesystem - trashdir='' found_trash=false while [ "$trashdirs" != "$trashdir" ]; do trashdir="${trashdirs%%:*}"