diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/framework.exp | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2020-06-17 Tom de Vries <tdevries <at> suse.de> + + * lib/framework.exp (unknown): Propagate return value of auto-loaded + command. + 2020-06-02 Jacob Bachmeyer <jcb62281+dev@gmail.com> PR 41647 diff --git a/lib/framework.exp b/lib/framework.exp index e6ce197..c9875d2 100644 --- a/lib/framework.exp +++ b/lib/framework.exp @@ -272,6 +272,9 @@ proc unknown args { } set exit_status 2 log_and_exit + } else { + # Propagate return value. + return $msg } } |