summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-02-03 23:01:23 +0100
committerDimitri Staessens <dimitri.staessens@ugent.be>2018-02-03 23:01:23 +0100
commita864afdd19fdd0c9e2fcc0445af9ded92c15eba8 (patch)
tree74034a14eaf648043ee2fc929335a328b890b7ed /src/tools
parent9f3dc2901d780f5b833ecf5a6bd18aa4c1f95a00 (diff)
parent3db51adc7cceaf810dc8312ff95e9d8ccb96154b (diff)
downloadouroboros-a864afdd19fdd0c9e2fcc0445af9ded92c15eba8.tar.gz
ouroboros-a864afdd19fdd0c9e2fcc0445af9ded92c15eba8.zip
Merge branch 'testing' into be
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/irm/irm_ipcp_bootstrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/irm/irm_ipcp_bootstrap.c b/src/tools/irm/irm_ipcp_bootstrap.c
index affe35a1..2acb6516 100644
--- a/src/tools/irm/irm_ipcp_bootstrap.c
+++ b/src/tools/irm/irm_ipcp_bootstrap.c
@@ -259,7 +259,7 @@ int do_bootstrap_ipcp(int argc,
len = irm_list_ipcps(name, &pids);
if (len <= 0) {
pid = irm_create_ipcp(name, conf.type);
- if (pid== 0)
+ if (pid <= 0)
return -1;
len = irm_list_ipcps(name, &pids);
}