diff options
Diffstat (limited to 'xtesting')
-rw-r--r-- | xtesting/core/feature.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtesting/core/feature.py b/xtesting/core/feature.py index b41519d0..5a02bb6a 100644 --- a/xtesting/core/feature.py +++ b/xtesting/core/feature.py @@ -95,8 +95,8 @@ class BashFeature(Feature): kwargs: Arbitrary keyword arguments. Returns: - 0 if cmd returns 0, - non-zero in all other cases. + process return code if no exception, + -1 otherwise. """ try: cmd = kwargs["cmd"] |