mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
put a default known_hosts into conf
This commit is contained in:
3
conf.c
3
conf.c
@@ -193,6 +193,9 @@ conf_init(struct conf *c)
|
||||
(void)strlcpy(c->termpath, "xterm", sizeof(c->termpath));
|
||||
(void)strlcpy(c->lockpath, "xlock", sizeof(c->lockpath));
|
||||
|
||||
(void)snprintf(c->known_hosts, sizeof(c->known_hosts), "%s/%s",
|
||||
homedir, ".ssh/known_hosts");
|
||||
|
||||
c->font = xstrdup(CONF_FONT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user