freebsd-src/usr.sbin/tzsetup
Ed Maste 030c387f5d tzsetup: correct timezone symlink target
In chroot mode tzsetup prepended the chroot path to the symlink target,
which is not correct.  Use the same path for the symlink regardless of
chroot mode.

PR:		281332
Reported by:	scf, Herbert J. Skuhra
Reviewed by:	olce
Fixes: 5e16809c95 ("tzsetup: symlink /etc/localtime instead of co...")
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46725
2024-09-30 10:22:34 -04:00
..
baseline tzsetup: adopt zone1970.tab changes 2023-04-27 19:31:48 +02:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tzsetup.8 Revert "tzsetup: ask local/UTC question only on x86" 2024-06-17 13:04:40 -04:00
tzsetup.c tzsetup: correct timezone symlink target 2024-09-30 10:22:34 -04:00