mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
[PATCH] - unlink bugfix
Fix for recent unlink patch.
This commit is contained in:
committed by
Greg KH
parent
5202dc9991
commit
dc820c1bc1
@@ -176,7 +176,7 @@ static int unlink_entry(char *filename)
|
||||
if ((stats.st_mode & S_IFMT) != S_IFDIR) {
|
||||
retval = unlink(filename);
|
||||
if (retval) {
|
||||
dbg("unlink(%s) failed with error '%s', "
|
||||
dbg("unlink(%s) failed with error '%s'",
|
||||
filename, strerror(errno));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user