mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
environment: fix error message for LIBGUESTFS_DEBUG failure
Properly mention LIBGUESTFS_DEBUG as environment variable when it cannot be parsed as boolean.
This commit is contained in:
@@ -199,7 +199,7 @@ parse_environment (guestfs_h *g,
|
||||
if (str) {
|
||||
b = guestfs_int_is_true (str);
|
||||
if (b == -1) {
|
||||
error (g, _("%s=%s: non-boolean value"), "LIBGUESTFS_TRACE", str);
|
||||
error (g, _("%s=%s: non-boolean value"), "LIBGUESTFS_DEBUG", str);
|
||||
return -1;
|
||||
}
|
||||
guestfs_set_verbose (g, b);
|
||||
|
||||
Reference in New Issue
Block a user