From c012215477b91ace372bfe4131d16519024bc286 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 30 Sep 2011 03:28:47 +0200 Subject: feh_file_info_load: do not display error when run with --quiet --- src/filelist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3