Add --startas back to s-s-d, #175980, #175981.

This commit is contained in:
Roy Marples 2007-05-14 12:37:13 +00:00
parent 0942916b72
commit bbfb7bc409
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
14 May 2007; Roy Marples <uberlord@gentoo.org>:
Add --startas back to s-s-d, #175980, #175981.
Allow time for pidfiles to be created, #178274.
Use int instead of char for getopt, #178084 thanks to drizztbsd.

View File

@ -481,6 +481,7 @@ int main (int argc, char **argv)
{ "nicelevel", 1, NULL, 'N'},
{ "retry", 1, NULL, 'R'},
{ "start", 0, NULL, 'S'},
{ "startas", 1, NULL, 'a'},
{ "background", 0, NULL, 'b'},
{ "chuid", 1, NULL, 'c'},
{ "chdir", 1, NULL, 'd'},
@ -665,6 +666,7 @@ int main (int argc, char **argv)
verbose = true;
break;
case 'a':
case 'x': /* --exec <executable> */
exec = optarg;
break;