summaryrefslogtreecommitdiff
path: root/src/tools/irm
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/irm')
-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);
}