1
0
mirror of https://github.com/phatina/simple-mtpfs synced 2025-01-13 10:21:54 +00:00

fix set mount, when LIBUSB1 not present

This commit is contained in:
Peter Hatina 2013-11-25 20:22:46 +01:00
parent 12f8f22454
commit 55f7586e6a

View File

@ -310,10 +310,12 @@ bool SMTPFileSystem::parseOptions(int argc, char **argv)
return false;
}
#ifdef HAVE_LIBUSB1
if (m_options.m_mount_point)
fuse_opt_add_arg(&m_args, m_options.m_mount_point);
#endif // HAVE_LIBUSB1
if (!m_options.m_mount_point) {
m_options.m_good = false;
return false;
}
fuse_opt_add_arg(&m_args, m_options.m_mount_point);
fuse_opt_add_arg(&m_args, "-s");
if (m_options.m_verbose) {