Bad condition for UseLogin check (#1350347)

This commit is contained in:
Jakub Jelen 2016-06-27 10:33:57 +02:00
parent 5a67d51d0f
commit a8068249cb

View File

@ -6,7 +6,7 @@ diff --git a/sshd.c b/sshd.c
&cfg, NULL);
+ /* 'UseLogin yes' is not supported in Fedora */
+ if (options.use_login)
+ if (options.use_login == 1)
+ logit("WARNING: 'UseLogin yes' is not supported in Fedora and may cause several problems.");
+
+ /* 'UsePAM no' is not supported in Fedora */