diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-09-30 03:28:47 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-09-30 03:28:47 +0200 |
commit | c012215477b91ace372bfe4131d16519024bc286 (patch) | |
tree | 32371d2c75a1c4be4ccf34d33bc8ff70214dc720 | |
parent | ad1b17d8f170c499a441fe24924f994ccf0b7e74 (diff) |
feh_file_info_load: do not display error when run with --quiet
-rw-r--r-- | src/filelist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filelist.c b/src/filelist.c index 23239f9..91b6b89 100644 --- a/src/filelist.c +++ b/src/filelist.c @@ -322,7 +322,8 @@ int feh_file_info_load(feh_file * file, Imlib_Image im) if (im) im1 = im; else if (!feh_load_image(&im1, file) || !im1) { - weprintf("couldn't load %s", file->filename); + if (!opt.quiet) + weprintf("couldn't load %s", file->filename); return(1); } |