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

This commit is contained in:
kientzle 2004-05-19 01:21:11 +00:00
parent b36520446e
commit e3a31f8a6e

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)