|
|
@@ -841,7 +841,7 @@ string pkgAcqIndex::Custom600Headers()
|
|
|
if (ShortDesc().find("Translation") != 0)
|
|
|
msg += "\nFail-Ignore: true";
|
|
|
struct stat Buf;
|
|
|
- if (stat(Final.c_str(),&Buf) != 0)
|
|
|
+ if (stat(Final.c_str(),&Buf) == 0)
|
|
|
msg += "\nLast-Modified: " + TimeRFC1123(Buf.st_mtime);
|
|
|
|
|
|
return msg;
|