1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Fix typo: priviledges => privileges (#58)

This commit is contained in:
Alexander 2019-04-08 14:13:18 +02:00 committed by Nicolas Viennot
parent d021127262
commit 22d6a39e50

View File

@ -359,7 +359,7 @@ static void jail(void)
gid = pw->pw_gid; gid = pw->pw_gid;
if (getuid() != 0) if (getuid() != 0)
tmate_fatal("Need root priviledges"); tmate_fatal("Need root privileges");
if (chroot(TMATE_WORKDIR "/jail") < 0) if (chroot(TMATE_WORKDIR "/jail") < 0)
tmate_fatal("Cannot chroot()"); tmate_fatal("Cannot chroot()");