diff options
author | Kamil Dudka <kdudka@redhat.com> | 2010-06-03 15:30:19 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2010-06-03 18:28:32 +0200 |
commit | e8d568c696692eed5c92d5a35498e1c26e13d6b3 (patch) | |
tree | eb753448c6de714b05e8598f7c8ac18d0e8eb20c | |
parent | 5b28eb3b0e0430ce6af28edc9100ca23299d1218 (diff) | |
download | attr-e8d568c696692eed5c92d5a35498e1c26e13d6b3.tar.gz |
setfattr.c: fix thinko in restore()
-rw-r--r-- | setfattr/setfattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setfattr/setfattr.c b/setfattr/setfattr.c index 491c25a..0a14cfa 100644 --- a/setfattr/setfattr.c +++ b/setfattr/setfattr.c @@ -120,7 +120,7 @@ int restore(const char *filename) break; line++; if (strncmp(l, "# file: ", 8) != 0) { - if (filename) { + if (file != stdin) { fprintf(stderr, _("%s: %s: No filename found " "in line %d, aborting\n"), progname, filename, backup_line); |