Remove unused command line options

This commit is contained in:
Andreas Öman 2008-10-07 15:41:49 +00:00
parent 4e412b78bc
commit 8cac4f2e9b

10
main.c
View file

@ -191,21 +191,13 @@ main(int argc, char **argv)
struct passwd *pw;
const char *usernam = NULL;
const char *groupnam = NULL;
char *cfgfile = NULL;
int logfacility = LOG_DAEMON;
int disable_dvb = 0;
sigset_t set;
signal(SIGPIPE, handle_sigpipe);
while((c = getopt(argc, argv, "c:fu:g:d")) != -1) {
while((c = getopt(argc, argv, "fu:g:")) != -1) {
switch(c) {
case 'd':
disable_dvb = 1;
break;
case 'c':
cfgfile = optarg;
break;
case 'f':
forkaway = 1;
break;