mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 22:36:24 +01:00
It has always bugged me that ps and w did not display su with tcsh
properly. I know, tcsh is not a "Real Shell". jc p2 :0.0 Tue04PM - -u (tcsh) ^^^ 7173 p2 S+ 0:01.33 -u (tcsh) ^^^ Submitted by: John Capo <jc@irbs.com>
This commit is contained in:
parent
0264a8a9c6
commit
ce0436e7a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7641
@ -205,7 +205,8 @@ main(argc, argv)
|
||||
++p;
|
||||
else
|
||||
p = shell;
|
||||
iscsh = strcmp(p, "csh") ? NO : YES;
|
||||
if ((iscsh = strcmp(p, "csh") ? NO : YES) == NO)
|
||||
iscsh = strcmp(p, "tcsh") ? NO : YES;
|
||||
}
|
||||
|
||||
/* set permissions */
|
||||
|
Loading…
Reference in New Issue
Block a user