summaryrefslogtreecommitdiff
path: root/src/tools/irm
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-04-26 15:24:26 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-04-26 15:24:26 +0200
commit45b7d79088174303193f8772c9b14fed2011551e (patch)
tree4a34c3e83f4fa268528586b9db4fc2358860c274 /src/tools/irm
parent6be9ae98877f23b05f69e6006036fec0f6c9d338 (diff)
downloadouroboros-45b7d79088174303193f8772c9b14fed2011551e.tar.gz
ouroboros-45b7d79088174303193f8772c9b14fed2011551e.zip
lib: irm.h create_ipcp now returns pid_t
ipcp_create now returns the pid of the created process to allow for more efficient scripting.
Diffstat (limited to 'src/tools/irm')
-rw-r--r--src/tools/irm/irm_create_ipcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/irm/irm_create_ipcp.c b/src/tools/irm/irm_create_ipcp.c
index 3c9b9cb8..e82bd980 100644
--- a/src/tools/irm/irm_create_ipcp.c
+++ b/src/tools/irm/irm_create_ipcp.c
@@ -78,5 +78,5 @@ int do_create_ipcp(int argc, char ** argv)
return -1;
}
- return irm_create_ipcp(ipcp_name, type);
+ return !irm_create_ipcp(ipcp_name, type);
}