Don't force the modtime on our backup dirs -- the dirs in the
authorWayne Davison <wayned@samba.org>
Thu, 13 May 2004 06:34:03 +0000 (06:34 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 13 May 2004 06:34:03 +0000 (06:34 +0000)
backup hierarchy should have their own timestamps.

backup.c

index db21fb1..391e355 100644 (file)
--- a/backup.c
+++ b/backup.c
@@ -102,7 +102,6 @@ static int make_bak_dir(char *fullpath)
                                    "make_bak_dir stat %s failed: %s\n",
                                    full_fname(rel), strerror(errno));
                        } else {
                                    "make_bak_dir stat %s failed: %s\n",
                                    full_fname(rel), strerror(errno));
                        } else {
-                               set_modtime(fullpath, st.st_mtime);
                                do_lchown(fullpath, st.st_uid, st.st_gid);
                                do_chmod(fullpath, st.st_mode);
                        }
                                do_lchown(fullpath, st.st_uid, st.st_gid);
                                do_chmod(fullpath, st.st_mode);
                        }