aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fileio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 7eb0518..b587c18 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -197,6 +197,10 @@ void umount_volume(cam_t *cam)
void mount_volume(cam_t *cam)
{
+ /* Only try to mount if remote capture is enabled */
+ if (!cam->rcap)
+ return;
+
/* Prepare a mount operation */
cam->rdir_file = g_file_new_for_uri(cam->uri);
if (cam->rdir_file)

Privacy Policy