Move the 'f' case so it shows up in the right place, alphabetically.
This commit is contained in:
parent
b0330ed929
commit
4a355d176d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127506
12
bin/ps/ps.c
12
bin/ps/ps.c
@ -242,6 +242,12 @@ main(int argc, char *argv[])
|
||||
case 'e': /* XXX set ufmt */
|
||||
needenv = 1;
|
||||
break;
|
||||
#ifdef LAZY_PS
|
||||
case 'f':
|
||||
if (getuid() == 0 || getgid() == 0)
|
||||
forceuread = 1;
|
||||
break;
|
||||
#endif
|
||||
case 'G':
|
||||
add_list(&gidlist, optarg);
|
||||
xkeep_implied = 1;
|
||||
@ -301,12 +307,6 @@ main(int argc, char *argv[])
|
||||
parsefmt(optarg, 1);
|
||||
_fmt = 1;
|
||||
break;
|
||||
#if defined(LAZY_PS)
|
||||
case 'f':
|
||||
if (getuid() == 0 || getgid() == 0)
|
||||
forceuread = 1;
|
||||
break;
|
||||
#endif
|
||||
case 'p':
|
||||
add_list(&pidlist, optarg);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user