9 Feb
2015
9 Feb
'15
10:29 a.m.
On 9 February 2015 at 09:56, Pino Toscano <ptoscano@redhat.com> wrote:
On Friday 06 February 2015 10:03:37 Richard W.M. Jones wrote: [...]
#if !(defined __APPLE__ && defined __MACH__) execlp ("fusermount", "fusermount", "-u", mountpoint, NULL); #else execlp ("/sbin/umount", "umount", mountpoint, NULL); #endif
Or rather use fusermount only on Linux and umount (with no path) elsewhere.
I'm about to mail some patches, your reply arrived just in time. :) Is #ifdef __linux__ sufficient in this case, then? I don't want to make too general assumptions. -- M.