diff options
Diffstat (limited to 'networking')
-rw-r--r-- | networking/telnet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index d9f0e94..3143631 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -645,8 +645,7 @@ extern int telnet_main(int argc, char** argv) bb_show_usage(); #ifdef CONFIG_FEATURE_TELNET_AUTOLOGIN - unsigned long flags = bb_getopt_ulflags(argc, argv, "al:", &autologin); - if (flags & 1) + if (1 & bb_getopt_ulflags(argc, argv, "al:", &autologin)) autologin = getenv("USER"); if (optind < argc) { |