diff options
Diffstat (limited to 'tools/getfattr.c')
-rw-r--r-- | tools/getfattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/getfattr.c b/tools/getfattr.c index 692d2d8..9ea44d5 100644 --- a/tools/getfattr.c +++ b/tools/getfattr.c @@ -277,7 +277,7 @@ int print_attribute(const char *path, const char *name, int *header_printed) if (opt_value_only) fwrite(value, length, 1, stdout); - else if (length) { + else if (opt_dump) { const char *enc = encode(value, &length); if (enc) |