git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update PO files.
[libguestfs.git]
/
daemon
/
lvm.c
diff --git
a/daemon/lvm.c
b/daemon/lvm.c
index
3920e95
..
564517c
100644
(file)
--- a/
daemon/lvm.c
+++ b/
daemon/lvm.c
@@
-26,6
+26,14
@@
#include "daemon.h"
#include "c-ctype.h"
#include "actions.h"
#include "daemon.h"
#include "c-ctype.h"
#include "actions.h"
+#include "optgroups.h"
+
+int
+optgroup_lvm2_available (void)
+{
+ int r = access ("/sbin/lvm", X_OK);
+ return r == 0;
+}
/* LVM actions. Keep an eye on liblvm, although at the time
* of writing it hasn't progressed very far.
/* LVM actions. Keep an eye on liblvm, although at the time
* of writing it hasn't progressed very far.