View | Details | Raw Unified | Return to bug 44337
Collapse All | Expand All

(-)a/fakesudo.c (-2 / +1 lines)
Lines 115-121 int main(int argc, char **argv) Link Here
115
			case 'T':
115
			case 'T':
116
				printf("fakesudo: you are not permitted to use the -%c option\n", ch);
116
				printf("fakesudo: you are not permitted to use the -%c option\n", ch);
117
				exit(1);
117
				exit(1);
118
			case 'l':
118
			case 'l': ;
119
				char hn[HOST_NAME_MAX] = {};
119
				char hn[HOST_NAME_MAX] = {};
120
				gethostname(hn, sizeof hn);
120
				gethostname(hn, sizeof hn);
121
				printf("User %s may run the following commands on %s:\n", me->pw_name, hn);
121
				printf("User %s may run the following commands on %s:\n", me->pw_name, hn);
122
- 

Return to bug 44337