git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd)
[libguestfs.git]
/
daemon
/
scrub.c
diff --git
a/daemon/scrub.c
b/daemon/scrub.c
index
08c6d47
..
573385f
100644
(file)
--- a/
daemon/scrub.c
+++ b/
daemon/scrub.c
@@
-31,8
+31,7
@@
int
optgroup_scrub_available (void)
{
int
optgroup_scrub_available (void)
{
- int r = access ("/usr/bin/scrub", X_OK);
- return r == 0;
+ return prog_exists ("scrub");
}
int
}
int