version 1.102, 2001/03/04 10:57:53 |
version 1.103, 2001/03/04 17:42:28 |
|
|
options.log_level++; |
options.log_level++; |
break; |
break; |
} else { |
} else { |
fatal("Too high debugging level.\n"); |
fatal("Too high debugging level."); |
} |
} |
/* fallthrough */ |
/* fallthrough */ |
case 'V': |
case 'V': |
|
|
/* Do not allocate a tty if stdin is not a tty. */ |
/* Do not allocate a tty if stdin is not a tty. */ |
if (!isatty(fileno(stdin)) && !force_tty_flag) { |
if (!isatty(fileno(stdin)) && !force_tty_flag) { |
if (tty_flag) |
if (tty_flag) |
log("Pseudo-terminal will not be allocated because stdin is not a terminal.\n"); |
log("Pseudo-terminal will not be allocated because stdin is not a terminal."); |
tty_flag = 0; |
tty_flag = 0; |
} |
} |
|
|
/* Get user data. */ |
/* Get user data. */ |
pw = getpwuid(original_real_uid); |
pw = getpwuid(original_real_uid); |
if (!pw) { |
if (!pw) { |
log("You don't exist, go away!\n"); |
log("You don't exist, go away!"); |
exit(1); |
exit(1); |
} |
} |
/* Take a copy of the returned structure. */ |
/* Take a copy of the returned structure. */ |