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.
|
||||
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"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue