Skip to content

Commit 71dcbb2

Browse files
committed
fix(playbooks/tests/roles/wait-for-task-script): Fix location of removal
rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED
1 parent 8370996 commit 71dcbb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/tests/roles/wait-for-task-script/files/wait-for-task.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ while true; do
3939
sleep 10
4040
done
4141

42-
rm -f $log
43-
4442
grep '^Started at:' $log | sed -e 's/^[^:]\+: //' -e 's/ UTC//'
4543
grep '^Ended at:' $log | sed -e 's/^[^:]\+: //' -e 's/ UTC//'
4644
awk '/^Duration:/ {print $NF}' $log | cut -d"'" -f2
45+
46+
rm -f $log

0 commit comments

Comments
 (0)