mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Default is to restore timestamps, even when operating as root. <sigh>
This commit is contained in:
parent
c2696aaf51
commit
04e2d02e20
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue