summaryrefslogtreecommitdiff
path: root/bin
diff options
authorRod Smith <rod.smith@canonical.com>2016-04-13 10:46:28 -0500
committerRod Smith <rod.smith@canonical.com>2016-04-13 10:46:28 -0500
commit1298a26bde63ac5eaf9b730ea22a6551aee26af9 (patch)
treeb7b7abb1fe5fbb603d32dd0a81ab43b46de5892c /bin
parent865e35acf95c873edcccc6033fe8b1e3c668e701 (diff)
Fixed erroneous '0' return code for memory test ng when error encountered.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/memory_stress_ng1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/memory_stress_ng b/bin/memory_stress_ng
index e33cccf..aab5945 100755
--- a/bin/memory_stress_ng
+++ b/bin/memory_stress_ng
@@ -88,6 +88,7 @@ run_stressor() {
fi
echo "*****************************************************************"
had_error=1
+ result=$return_code
fi
} # run_stressor()