mirror of git://anongit.mindrot.org/openssh.git
Skip agent-getpeereid when running as root.
This commit is contained in:
parent
fbd772570a
commit
81d33d8e3c
|
@ -12,6 +12,9 @@ if config_defined HAVE_GETPEEREID HAVE_GETPEERUCRED HAVE_SO_PEERCRED ; then
|
|||
else
|
||||
skip "skipped (not supported on this platform)"
|
||||
fi
|
||||
if test "x$USER" = "xroot"; then
|
||||
skip "skipped (running as root)"
|
||||
fi
|
||||
case "x$SUDO" in
|
||||
xsudo) sudo=1;;
|
||||
xdoas|xdoas\ *) ;;
|
||||
|
|
Loading…
Reference in New Issue