summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_ipcp_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/irm/irm_ipcp_create.c')
-rw-r--r--src/tools/irm/irm_ipcp_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/irm/irm_ipcp_create.c b/src/tools/irm/irm_ipcp_create.c
index 8e9404b6..35d33782 100644
--- a/src/tools/irm/irm_ipcp_create.c
+++ b/src/tools/irm/irm_ipcp_create.c
@@ -107,7 +107,7 @@ int do_create_ipcp(int argc,
}
pid = irm_create_ipcp(ipcp_name, type);
- if (pid <= 0)
+ if (pid < 0)
return -1;
return 0;