kayos@tcp.direct 2024-06-19 11:34:31 -07:00
parent b618f7348c
commit 7fddd4d073
No known key found for this signature in database
GPG key ID: 4B841471B4BEE979
2 changed files with 2 additions and 1 deletions

View file

@ -309,6 +309,7 @@ func CopyToSystem(isRoot bool, conffile, sysfile string) {
common.ErrorCheck(err, fmt.Sprintf("Failed to read %s", conffile))
err = os.WriteFile(sysfile, fDat, 0644)
common.ErrorCheck(err, fmt.Sprintf("Failed to write %s", sysfile))
logger.Printf("Copied %s to %s\n", conffile, sysfile)
return
}