aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/useradd.c
AgeCommit message (Collapse)Author
2014-06-10pending/useradd: unbreak buildIsaac Dunham
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.
2014-05-31Introduce xfork() and make commands use it, and make some WEXITSTATUS() use ↵Rob Landley
WIFEXITED() and WTERMSIG()+127.
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in.
2013-10-16useradd, groupadd, and mkpasswd submitted by Ashwini Sharma.Rob Landley