Displaying 2 results from an estimated 2 matches for "95f0f86".
Did you mean:
950286
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...and (NULL, &err, "sfdisk",
+ r = command (NULL, &err, str_sfdisk,
"--change-id", device, partnum_str, idbyte_str, NULL);
if (r == -1) {
reply_with_error ("sfdisk --change-id: %s", err);
diff --git a/daemon/rsync.c b/daemon/rsync.c
index 95f0f86..e4a7237 100644
--- a/daemon/rsync.c
+++ b/daemon/rsync.c
@@ -30,10 +30,12 @@
#define MAX_ARGS 64
+GUESTFSD_EXT_CMD(str_rsync, rsync);
+
int
optgroup_rsync_available (void)
{
- return prog_exists ("rsync");
+ return prog_exists (str_rsync);
}
static int
@@ -46,7 +48,7 @@ rsy...
2012 Aug 30
1
[PATCH] collect list of called external commands
...and (NULL, &err, "sfdisk",
+ r = command (NULL, &err, str_sfdisk,
"--change-id", device, partnum_str, idbyte_str, NULL);
if (r == -1) {
reply_with_error ("sfdisk --change-id: %s", err);
diff --git a/daemon/rsync.c b/daemon/rsync.c
index 95f0f86..f5fa907 100644
--- a/daemon/rsync.c
+++ b/daemon/rsync.c
@@ -30,10 +30,12 @@
#define MAX_ARGS 64
+GUESTFS_EXT_CMD(str_rsync, rsync);
+
int
optgroup_rsync_available (void)
{
- return prog_exists ("rsync");
+ return prog_exists (str_rsync);
}
static int
@@ -46,7 +48,7 @@ rsyn...