mirror of
https://github.com/sheumann/hush.git
synced 2024-06-13 02:29:53 +00:00
ash: "you have mail" should ignore first change in mtime
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2384162f64
commit
4cd99e7c6c
|
@ -10073,8 +10073,9 @@ chkmail(void)
|
||||||
new_hash += (unsigned)statb.st_mtime;
|
new_hash += (unsigned)statb.st_mtime;
|
||||||
}
|
}
|
||||||
if (!mail_var_path_changed && mailtime_hash != new_hash) {
|
if (!mail_var_path_changed && mailtime_hash != new_hash) {
|
||||||
|
if (mailtime_hash != 0)
|
||||||
|
out2str("you have mail\n");
|
||||||
mailtime_hash = new_hash;
|
mailtime_hash = new_hash;
|
||||||
out2str("you have mail\n");
|
|
||||||
}
|
}
|
||||||
mail_var_path_changed = 0;
|
mail_var_path_changed = 0;
|
||||||
popstackmark(&smark);
|
popstackmark(&smark);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user