mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (proc_daemon): use EXIT_SUCCESS instead of magic number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04a293b966
commit
893c123bfb
1 changed files with 2 additions and 2 deletions
|
@ -4569,7 +4569,7 @@ proc_daemon(int argc, VALUE *argv)
|
|||
case 0:
|
||||
break;
|
||||
default:
|
||||
_exit(0);
|
||||
_exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
proc_setsid();
|
||||
|
@ -4581,7 +4581,7 @@ proc_daemon(int argc, VALUE *argv)
|
|||
case 0:
|
||||
break;
|
||||
default:
|
||||
_exit(0);
|
||||
_exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
if (!RTEST(nochdir))
|
||||
|
|
Loading…
Add table
Reference in a new issue