View | Details | Raw Unified
Collapse All | Expand All

(-) irda-utils-0.9.16/irdadump/shell/main.c.root (+5 lines)
 Lines 86-91    Link Here 
#endif
#endif
	int fd, c;
	int fd, c;
	if(geteuid()) {
		puts("You need to be root to run this utility.\n");
		return 1;
	}
	while ((c = getopt(argc, argv, "bc:df:i:lps:tvx?")) != -1) {
	while ((c = getopt(argc, argv, "bc:df:i:lps:tvx?")) != -1) {
		switch (c) {
		switch (c) {
		case 'b': /* Dumb bytes */
		case 'b': /* Dumb bytes */