1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129411

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)