aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/utils/isdnsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/utils/isdnsync.c')
-rw-r--r--openbsc/src/utils/isdnsync.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/src/utils/isdnsync.c b/openbsc/src/utils/isdnsync.c
index d8fca761b..cc8ff6723 100644
--- a/openbsc/src/utils/isdnsync.c
+++ b/openbsc/src/utils/isdnsync.c
@@ -57,7 +57,6 @@ int mISDN_open(void)
if (!(devinfo.Dprotocols & (1 << ISDN_P_TE_S0))
&& !(devinfo.Dprotocols & (1 << ISDN_P_TE_E1))) {
fprintf(stderr,"Interface does not support TE mode (%s)\n", strerror(errno));
- close(fd);
return ret;
}
fd = socket(PF_ISDN, SOCK_DGRAM, ISDN_P_LAPD_TE);