fs="$fs${fs:+,}$x"
done
if [ -n "$fs" ]; then
umount -at $fs || eerror "Failed to simply unmount filesystems"
# also try the lazy way
umount -at $fs || umount -atl $fs || eerror "Failed to simply unmount filesystems"
fi
eindent