]> git.sur5r.net Git - openldap/commitdiff
Fix == v != bug
authorKurt Zeilenga <kurt@openldap.org>
Wed, 19 Apr 2000 13:35:43 +0000 (13:35 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 19 Apr 2000 13:35:43 +0000 (13:35 +0000)
libraries/liblutil/detach.c

index 88ef003ca24156876189c91d2cda52601c38c072..022c2dbd787e825e58a2de47ba124e095ec0233e 100644 (file)
@@ -72,7 +72,7 @@ lutil_detach( int debug, int do_close )
                        break;
                }
 
-               if ( (sd = open( "/dev/null", O_RDWR )) != -1 ) {
+               if ( (sd = open( "/dev/null", O_RDWR )) == -1 ) {
                        perror("/dev/null");
                }