mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Fix == v != bug
This commit is contained in:
parent
01de012e1c
commit
6a4ff3b996
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user