OSDN Git Service

pending/useradd: unbreak build
authorIsaac Dunham <ibid.ag@gmail.com>
Tue, 10 Jun 2014 13:29:10 +0000 (08:29 -0500)
committerIsaac Dunham <ibid.ag@gmail.com>
Tue, 10 Jun 2014 13:29:10 +0000 (08:29 -0500)
commitb5f97805cee1daab12641ad8927d0539aa0d99ac
treeb395dc6558dfa6b9d29732e46c6e9fd6c04ca47c
parentef377cf6f6a1e89696df1b0c8d847000a172f846
pending/useradd: unbreak build

When useradd started using xfork(), the conditional in else if (pid > 0)
became unnecessary, since else means pid is nonzero and xfork makes it
non-negative. However, the "if" was not deleted.
toys/pending/useradd.c