sshfs mounting linux directory from mac stopped working

For future googlers, I received this mysterious error and realized the path I was providing to sshfs was non-existent. Oops. Fixed it and I'm off.

mount_osxfusefs: failed to mount /Volumes/mypath@/dev/osxfuse0: Socket is not connected

I think it's fixed. I had this line in the .bashrc on the linux box:

CLIENT_PATH_PREFIX="$(ssh ${CLIENT_ADDR} 'echo ${SSHFS_PATH_PREFIX}')/$(hostname)/$(whoami)"

It didn't need to be run by non-interactive shells, so I pushed that off to a different file, and it's better now. I don't really understand why, but I'm happy it works.