[PATCH] - unlink bugfix
Fix for recent unlink patch.
This commit is contained in:
parent
5202dc9991
commit
dc820c1bc1
|
@ -176,7 +176,7 @@ static int unlink_entry(char *filename)
|
||||||
if ((stats.st_mode & S_IFMT) != S_IFDIR) {
|
if ((stats.st_mode & S_IFMT) != S_IFDIR) {
|
||||||
retval = unlink(filename);
|
retval = unlink(filename);
|
||||||
if (retval) {
|
if (retval) {
|
||||||
dbg("unlink(%s) failed with error '%s', "
|
dbg("unlink(%s) failed with error '%s'",
|
||||||
filename, strerror(errno));
|
filename, strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue