mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
debian: Fix ntfs3g available API on Debian.
Really we should have a test for "is program on $PATH?" but this fix will do for now.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user