sshfs-mapper: Another fix for symlinks in configuration.

git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1397 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
Glenn Y. Rolland 2009-08-15 17:25:15 +00:00
parent 745234894e
commit 18771f119c

View file

@ -165,7 +165,7 @@ is_mounted() {
return $?
}
for map_file in `find "$SSHFS_DIR" -type f -name '*.map' `; do
for map_file in `find "$SSHFS_DIR" -follow -type f -name '*.map' `; do
if [ $SSHFS_HOST_LIST -eq 1 ]; then
basename `echo ${map_file} | sed 's/.map$//'`
continue