diff options
author | NeilBrown <neilb@suse.de> | 2014-05-22 17:13:02 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-05-22 17:13:02 +1000 |
commit | 85945e1986837e1e34247a03c99039593fbceb8b (patch) | |
tree | 453d176c911ae229c7dc81b9cbc414187f3b54ee /util.c | |
parent | df881f757b3d61e5dfc1a2b23436ab1cf5247157 (diff) | |
download | mdadm-85945e1986837e1e34247a03c99039593fbceb8b.tar.gz |
install: use BINDIR consistently to locate mdadm and mdmon
Every place where the paths for mdadm or mdmon is explicit,
it should use the BINDIR setting, not "/sbin/".
Reported-by: member graysky <graysky@archlinux.us> (https://bugs.archlinux.org/task/37330)
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1688,7 +1688,7 @@ int start_mdmon(char *devnm) char pathbuf[1024]; char *paths[4] = { pathbuf, - "/sbin/mdmon", + BINDIR "/mdmon", "./mdmon", NULL }; |