mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Better error messages for FUSE and other things not supported.
The bare message "FUSE not supported" wasn't actionable.
This commit is contained in:
@@ -109,7 +109,7 @@ do_compressX_out (const char *file, const char *filter, int is_device)
|
||||
#define CHECK_SUPPORTED(prog) \
|
||||
if (!prog_exists (prog)) \
|
||||
/* note: substring "not supported" must appear in this error */ \
|
||||
NOT_SUPPORTED (-1, "compression type %s is not supported", prog);
|
||||
NOT_SUPPORTED (-1, "compression type %s is not supported, because external program '%s' is not available in the appliance", prog, prog);
|
||||
|
||||
static int
|
||||
get_filter (const char *ctype, int level, char *ret, size_t n)
|
||||
|
||||
Reference in New Issue
Block a user