* 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
@ -4569,7 +4569,7 @@ proc_daemon(int argc, VALUE *argv)
|
|||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
_exit(0);
|
_exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
proc_setsid();
|
proc_setsid();
|
||||||
@ -4581,7 +4581,7 @@ proc_daemon(int argc, VALUE *argv)
|
|||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
_exit(0);
|
_exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!RTEST(nochdir))
|
if (!RTEST(nochdir))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user