diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-22 14:25:46 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-22 14:25:46 +0100 |
commit | 23ea3dcb48ea4ad8d07a3558742aef08faff0c94 (patch) | |
tree | 2595111e218843f57a10254b7b0bc8e7e827e47d /tools.c | |
parent | a4b8729e6af299a3f2eb4fa676e93cfd85778521 (diff) | |
download | vdr-23ea3dcb48ea4ad8d07a3558742aef08faff0c94.tar.gz vdr-23ea3dcb48ea4ad8d07a3558742aef08faff0c94.tar.bz2 |
No longer logging an error message in DirSizeMB() if the given directory doesn't exist
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 3.2 2013/09/22 13:19:19 kls Exp $ + * $Id: tools.c 3.3 2014/03/22 14:22:55 kls Exp $ */ #include "tools.h" @@ -609,7 +609,7 @@ int DirSizeMB(const char *DirName) } return size; } - else + else if (errno != ENOENT) LOG_ERROR_STR(DirName); return -1; } |