linux/Documentation/fault-injection/failcmd.sh

5 lines
54 B
Bash

#!/bin/bash
echo 1 > /proc/self/make-it-fail
exec $*