mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-27 08:40:57 -05:00
avoid confusing message about non error during teardown
This commit is contained in:
parent
b51343081a
commit
65957effd9
1 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,9 @@ function setup() {
|
|||
|
||||
function teardown() {
|
||||
stop_daemon forgejo-runner $DIR
|
||||
if test -f $DIR/forgejo-runner-home ; then
|
||||
rm -fr $(cat $DIR/forgejo-runner-home)
|
||||
fi
|
||||
}
|
||||
|
||||
"$@"
|
||||
|
|
Loading…
Reference in a new issue