summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--regress/bin/ksh/seterror.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/bin/ksh/seterror.sh b/regress/bin/ksh/seterror.sh
index f3753249ca2..cd47e6da652 100644
--- a/regress/bin/ksh/seterror.sh
+++ b/regress/bin/ksh/seterror.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $OpenBSD: seterror.sh,v 1.2 2009/01/29 23:27:26 jaredy Exp $
+# $OpenBSD: seterror.sh,v 1.3 2013/06/08 21:36:50 millert Exp $
# set -e is supposed to abort the script for errors that are not caught
# otherwise.
@@ -11,8 +11,8 @@ if true; then if true; then false && false; fi; fi
for i in 1 2 3
do
- true && false
- false || false
+ false && true
+ true || false
done
! true | false