if ((readlink(hts_home, hts_home_link, sizeof(hts_home_link)) == -1) ||
(stat(hts_home_link, &st) == -1)) {
- tvherror(LS_CONFIG, ".hts/tvheadend is inaccessable: %s", strerror(errno));
+ tvherror(LS_CONFIG, ".hts/tvheadend is inaccessible: %s", strerror(errno));
return NULL;
}
strncpy(hts_home, hts_home_link, sizeof(hts_home));
signal(SIGPIPE, handle_sigpipe); // will be redundant later
signal(SIGILL, handle_sigill); // see handler..
- /* Set priviledges */
+ /* Set privileges */
if((opt_fork && getuid() == 0) || opt_group || opt_user) {
const char *homedir;
struct group *grp = getgrnam(opt_group ?: "video");