source:
.tests/cleanup_bitlbee.sh
@
a181ec1
Last change on this file since a181ec1 was e14bdc67, checked in by , at 2021-03-29T13:14:39Z | |
---|---|
|
|
File size: 181 bytes |
Rev | Line | |
---|---|---|
[c6c05ad] | 1 | #!/bin/bash |
2 | ||
3 | set -e | |
4 | ||
5 | killall bitlbee | |
[c386390] | 6 | |
[e14bdc67] | 7 | printf 'Bitlbee output:\n\n' |
[c6c05ad] | 8 | less ./debuglog |
9 | ||
10 | if cat ./debuglog | grep -i -q error | |
11 | then | |
12 | rm ./debuglog | |
13 | exit 1 | |
14 | else | |
15 | rm ./debuglog | |
16 | fi |
Note: See TracBrowser
for help on using the repository browser.