aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/testing/fault-injection/failcmd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/fault-injection/failcmd.sh b/tools/testing/fault-injection/failcmd.sh
index 1776e924b202..78a9ed7fecdb 100644
--- a/tools/testing/fault-injection/failcmd.sh
+++ b/tools/testing/fault-injection/failcmd.sh
@@ -206,7 +206,7 @@ while true; do
206 esac 206 esac
207done 207done
208 208
209[ -z "$@" ] && exit 0 209[ -z "$1" ] && exit 0
210 210
211echo $oom_kill_allocating_task > /proc/sys/vm/oom_kill_allocating_task 211echo $oom_kill_allocating_task > /proc/sys/vm/oom_kill_allocating_task
212echo $task_filter > $FAULTATTR/task-filter 212echo $task_filter > $FAULTATTR/task-filter