diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-08-12 13:32:06 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-08-12 13:32:06 +0200 |
commit | 1c3acf28af363bbaba73513ccf298dd0ecb088f6 (patch) | |
tree | 9439d90e2c3c78e70d4a9c505a871ea5f8b66b25 /tools.c | |
parent | 713093670f5d6c60886f61a1aa6137852339db72 (diff) | |
download | vdr-1c3acf28af363bbaba73513ccf298dd0ecb088f6.tar.gz vdr-1c3acf28af363bbaba73513ccf298dd0ecb088f6.tar.bz2 |
No longer stopping removing empty directories if an error occurs
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.119 2006/06/17 09:45:32 kls Exp $ + * $Id: tools.c 1.120 2006/08/12 13:30:07 kls Exp $ */ #include "tools.h" @@ -422,8 +422,7 @@ bool RemoveEmptyDirectories(const char *DirName, bool RemoveThis) } else { LOG_ERROR_STR(buffer); - free(buffer); - return false; + empty = false; } free(buffer); } |