diff options
author | dimitri staessens <[email protected]> | 2016-04-26 15:24:26 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-04-26 15:24:26 +0200 |
commit | 45b7d79088174303193f8772c9b14fed2011551e (patch) | |
tree | 4a34c3e83f4fa268528586b9db4fc2358860c274 /src/tools | |
parent | 6be9ae98877f23b05f69e6006036fec0f6c9d338 (diff) | |
download | ouroboros-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')
-rw-r--r-- | src/tools/irm/irm_create_ipcp.c | 2 |
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); } |