* mkpasswd.c (main): Avoid printing system accounts when a single user name has
been requested.
This commit is contained in:
parent
6510edf4bc
commit
95141e7835
|
@ -1,3 +1,8 @@
|
|||
2008-08-17 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* mkpasswd.c (main): Avoid printing system accounts when a single user
|
||||
name has been requested.
|
||||
|
||||
2008-08-17 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet
|
||||
|
|
|
@ -868,7 +868,7 @@ skip:
|
|||
? domlist[i].id_offset : off : 0;
|
||||
if (!domlist[i].domain && domlist[i].str && print_unix)
|
||||
enum_unix_users (domlist + i, sep_char, my_off, print_unix);
|
||||
if (!my_off && !print_current)
|
||||
if (!my_off && !print_current && !disp_username)
|
||||
enum_std_accounts ();
|
||||
enum_users (domlist[i].domain, domlist + i, sep_char, print_cygpath,
|
||||
passed_home_path, my_off, disp_username, print_current);
|
||||
|
|
Loading…
Reference in New Issue