summaryrefslogtreecommitdiff
path: root/check.c
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1998-10-15 03:52:33 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1998-10-15 03:52:33 +0000
commit4530bcfc8501ce3d551836d5839e1dbdb842dd74 (patch)
tree7b7bfe9b726735ea1a7407653b0cbd86a7ebd1ad /check.c
parent6c429882fd4c66448c4fc4535bcac4862b7c45eb (diff)
downloadsudo-4530bcfc8501ce3d551836d5839e1dbdb842dd74.tar.gz
remove_timestamp() if timestamp is preposterous
Diffstat (limited to 'check.c')
-rw-r--r--check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/check.c b/check.c
index 8e759d2be..e033b10bb 100644
--- a/check.c
+++ b/check.c
@@ -299,6 +299,7 @@ static int check_timestamp()
timestamp_is_old = 2; /* bogus time value */
log_error(BAD_STAMPFILE);
inform_user(BAD_STAMPFILE);
+ remove_timestamp();
} else {
timestamp_is_old = 0; /* time value is reasonable */
}