Default is to restore timestamps, even when operating as root. <sigh>

This commit is contained in:
Tim Kientzle 2004-05-19 01:21:11 +00:00
parent c2696aaf51
commit 04e2d02e20

View File

@ -153,7 +153,7 @@ main(int argc, char **argv)
bsdtar->extract_flags = ARCHIVE_EXTRACT_TIME;
if (bsdtar->user_uid == 0)
bsdtar->extract_flags = ARCHIVE_EXTRACT_OWNER;
bsdtar->extract_flags |= ARCHIVE_EXTRACT_OWNER;
bsdtar->progname = strrchr(*argv, '/');
if (bsdtar->progname != NULL)