use the same directory for teardown and setup

This commit is contained in:
Earl Warren 2023-12-19 18:38:38 +01:00
parent bfec7083d7
commit f147de9c79
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -73,7 +73,7 @@ function setup() {
} }
function teardown() { function teardown() {
stop_daemon forgejo-runner stop_daemon forgejo-runner $DIR
rm -fr $(cat $DIR/forgejo-runner-home) rm -fr $(cat $DIR/forgejo-runner-home)
} }