Skip to content

Commit

Permalink
Fix timezone setting
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme committed Oct 21, 2023
1 parent 1943c07 commit 717c5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/post_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func SetTimezone(targetRoot, tz string) error {
tzPath := targetRoot + "/etc/timezone\n"
tzPath := targetRoot + "/etc/timezone"

err := os.WriteFile(tzPath, []byte(tz), 0644)
if err != nil {
Expand Down

0 comments on commit 717c5e6

Please sign in to comment.