1
0
Fork 0
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:
nobu 2010-04-01 23:24:11 +00:00
parent 04a293b966
commit 893c123bfb

View file

@ -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))