rek...@elephly.net (Ricardo Wurmus) skribis:

> commit b9fb70ca65f2f76919a093cb73150082466f4203
> Author: Ricardo Wurmus <ricardo.wur...@mdc-berlin.de>
> Date:   Fri Dec 1 16:39:08 2017 +0100
>
>     gnu: glusterfs: Replace hardcoded FHS references.
>     
>     * gnu/packages/patches/glusterfs-use-PATH-instead-of-hardcodes.patch: New 
> file.
>     * gnu/local.mk (dist_patch_DATA): Add it.
>     * gnu/packages/file-systems.scm (glusterfs)[source]: Use it.

[...]

> +--- a/contrib/fuse-lib/mount-common.c
> ++++ b/contrib/fuse-lib/mount-common.c
> +@@ -255,16 +255,16 @@ fuse_mnt_umount (const char *progname, const char 
> *abs_mnt,
> +                         exit (1);
> +                 }
> + #ifdef GF_LINUX_HOST_OS
> +-                execl ("/bin/umount", "/bin/umount", "-i", rel_mnt,
> ++                execl ("umount", "umount", "-i", rel_mnt,

Should it be ‘execlp’?  Otherwise it’s going to try to execute “umount”
from $PWD, no?

Ludo’.

Reply via email to