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

(-)a/tcpdump.c (-1 / +6 lines)
Lines 2036-2043 main(int argc, char **argv) Link Here
2036
               /* Run with '-Z root' to restore old behaviour */
2036
               /* Run with '-Z root' to restore old behaviour */
2037
               if (!username)
2037
               if (!username)
2038
                       username = WITH_USER;
2038
                       username = WITH_USER;
2039
               else if (strcmp(username, "root") == 0)
2039
               else if (strcmp(username, "root") == 0) {
2040
                       username = NULL;
2040
                       username = NULL;
2041
                       if (chroot_dir) {
2042
                               warning("chroot to %s disabled", chroot_dir);
2043
                               chroot_dir = NULL;
2044
                       }
2045
               }
2041
       }
2046
       }
2042
#endif
2047
#endif

Return to bug 53687