Fix --cert option that was accidentally broken by the new --cert-fd support.

git-svn-id: https://shellinabox.googlecode.com/svn/trunk@53 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
zodiac 2009-01-22 02:37:46 +00:00
parent db0a562025
commit 6e8862b6b5

View file

@ -678,7 +678,7 @@ static void parseArgs(int argc, char * const argv[]) {
if (!hasSSL) { if (!hasSSL) {
warn("Ignoring certificate directory, as SSL support is unavailable"); warn("Ignoring certificate directory, as SSL support is unavailable");
} }
if (certificateFd) { if (certificateFd >= 0) {
fatal("Cannot set both a certificate directory and file handle"); fatal("Cannot set both a certificate directory and file handle");
} }
if (certificateDir) { if (certificateDir) {