diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-04-06 06:06:47 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-04-06 06:06:47 +0000 |
commit | ce0436e7a6bffd2916038ccdbdbe1e24f3a67888 (patch) | |
tree | dfd8addc97d90943f007c3eb12f1b7384fca6854 /usr.bin/su | |
parent | 0264a8a9c62201065139b06dea50fe018829ffef (diff) | |
download | src-ce0436e7a6bffd2916038ccdbdbe1e24f3a67888.tar.gz src-ce0436e7a6bffd2916038ccdbdbe1e24f3a67888.zip |
Notes
Diffstat (limited to 'usr.bin/su')
-rw-r--r-- | usr.bin/su/su.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c index 95d54eccdcd2..6eef9eecae6e 100644 --- a/usr.bin/su/su.c +++ b/usr.bin/su/su.c @@ -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 */ |