summaryrefslogtreecommitdiffstats
path: root/daemon/ntfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/ntfs.c')
-rw-r--r--daemon/ntfs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/daemon/ntfs.c b/daemon/ntfs.c
index 46b8333e..27aa2650 100644
--- a/daemon/ntfs.c
+++ b/daemon/ntfs.c
@@ -32,7 +32,11 @@ int
optgroup_ntfs3g_available (void)
{
int r = access ("/bin/ntfs-3g.probe", X_OK);
- return r == 0;
+ if (r == 0)
+ return 1;
+ /* On Debian: */
+ r = access ("/usr/bin/ntfs-3g.probe", X_OK);
+ return (r == 0);
}
int