On 9 February 2015 at 09:56, Pino Toscano <[email protected]> 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. _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
