mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: Remove GUESTFSD_EXT_CMD.
GUESTFSD_EXT_CMD was used by OpenSUSE to track which external commands are run by the daemon and package those commands into the appliance. It is no longer used by recent SUSE builds, so remove it. Thanks: Pino Toscano, Olaf Hering.
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
#include "actions.h"
|
||||
#include "optgroups.h"
|
||||
|
||||
GUESTFSD_EXT_CMD(str_cpio, cpio);
|
||||
|
||||
/* Has one FileOut parameter. */
|
||||
/* Takes optional arguments, consult optargs_bitmask. */
|
||||
int
|
||||
@@ -82,7 +80,7 @@ do_cpio_out (const char *dir, const char *format)
|
||||
|
||||
if (asprintf_nowarn (&cmd, "cd %Q && find -print0 | %s -0 -o -H %s --quiet",
|
||||
buf,
|
||||
str_cpio,
|
||||
"cpio",
|
||||
format) == -1) {
|
||||
reply_with_perror ("asprintf");
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user