summaryrefslogtreecommitdiff
path: root/edquota.c
diff options
context:
space:
mode:
Diffstat (limited to 'edquota.c')
-rw-r--r--edquota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/edquota.c b/edquota.c
index fb1d5a8..f161bf3 100644
--- a/edquota.c
+++ b/edquota.c
@@ -309,7 +309,7 @@ int main(int argc, char **argv)
goto out;
}
/* File not modified? */
- if (timespec_cmp(&mtime, &st.st_mtim) <= 0)
+ if (timespec_cmp(&mtime, &st.st_mtim) == 0)
goto out;
if (readtimes(handles, tmpfd) < 0) {
errstr(_("Failed to parse grace times file.\n"));
@@ -361,7 +361,7 @@ int main(int argc, char **argv)
goto next_user;
}
/* File not modified? */
- if (timespec_cmp(&mtime, &st.st_mtim) <= 0)
+ if (timespec_cmp(&mtime, &st.st_mtim) == 0)
goto next_user;
if (flags & FL_EDIT_TIMES) {
if (readindividualtimes(curprivs, tmpfd) < 0) {