Fix timestamp removal with -k/-K

This commit is contained in:
Todd C. Miller
2010-05-11 13:08:41 -04:00
parent e324082d5c
commit b89980ac6e

View File

@@ -647,7 +647,7 @@ remove_timestamp(int remove)
status = timestamp_status(timestampdir, timestampfile, user_name,
TS_REMOVE);
if (status == TS_OLD || status == TS_CURRENT) {
if (status != TS_MISSING && status != TS_ERROR) {
path = timestampfile ? timestampfile : timestampdir;
if (remove) {
if (timestampfile)