summaryrefslogtreecommitdiff
path: root/units/stress
diff options
Diffstat (limited to 'units/stress')
-rw-r--r--units/stress/stress-ng.pxu2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/stress/stress-ng.pxu b/units/stress/stress-ng.pxu
index 7042d0f..8dd6853 100644
--- a/units/stress/stress-ng.pxu
+++ b/units/stress/stress-ng.pxu
@@ -29,5 +29,5 @@ plugin: shell
estimated_duration: 1200.0
environ: STRESS_NG_CLASSES_TIMEOUT
command:
- cd /var/tmp
+ cd /var/tmp || exit $?
stress-ng --sequential 0 --class {stress-ng-class} --timeout "${{STRESS_NG_CLASSES_TIMEOUT:-30}}"