From af4ab6cbf57f8d43e62c7d1e74f922e54b1844b4 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Tue, 22 Jun 2004 20:53:02 -0700 Subject: - (tim) [regress/try-ciphers.sh] "if ! some_command" is not portable. --- regress/try-ciphers.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'regress/try-ciphers.sh') diff --git a/regress/try-ciphers.sh b/regress/try-ciphers.sh index 15827e250..c6e1b9152 100644 --- a/regress/try-ciphers.sh +++ b/regress/try-ciphers.sh @@ -29,8 +29,10 @@ for c in $ciphers; do fi done -if ! ${SSH} -oCiphers=acss@openssh.org 2>&1 | grep "Bad SSH2 cipher" >/dev/null +if ${SSH} -oCiphers=acss@openssh.org 2>&1 | grep "Bad SSH2 cipher" >/dev/null then + : +else echo "Ciphers acss@openssh.org" >> $OBJ/sshd_proxy c=acss@openssh.org -- cgit v1.2.3