6 lines
162 B
Plaintext
6 lines
162 B
Plaintext
|
#!/bin/bash
|
||
|
/bin/bash --rcfile <(cat /etc/bashrc; echo '
|
||
|
export PS1="FAILCOUNT: \$failcount ""$PS1"
|
||
|
trap '\''export failcount=$(( $failcount + $? ))'\'' DEBUG
|
||
|
')
|