forked from fox-it/dissect.target
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle hardlink or regular file for /etc/localtime (fox-it#367)
A symlink is not always guaranteed for /etc/localtime. This adds extra handling for hardlinks and regular files. Issue found via: fox-it/citrix-netscaler-triage#4 Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
- Loading branch information
1 parent
cafc4fb
commit 5bc6b6c
Showing
2 changed files
with
81 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters