mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Use "=" not "==" in string test.
POSIX says "=" is string comparison and some shells (eg HP-UX) will complain about "==".
This commit is contained in:
parent
9880f3480f
commit
637017a7dd
@ -9,7 +9,7 @@ cp $authkeys $origkeys
|
|||||||
|
|
||||||
# Allocating ptys can require privileges on some platforms.
|
# Allocating ptys can require privileges on some platforms.
|
||||||
skip_pty=""
|
skip_pty=""
|
||||||
if ! config_defined HAVE_OPENPTY && [ "x$SUDO" == "x" ]; then
|
if ! config_defined HAVE_OPENPTY && [ "x$SUDO" = "x" ]; then
|
||||||
skip_pty="no openpty(3) and SUDO not set"
|
skip_pty="no openpty(3) and SUDO not set"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user