Skip to content
Snippets Groups Projects
Commit cc17a1cc authored by alice's avatar alice
Browse files

checkapk: exit on trap signal

otherwise it cleans up but the loop keeps going and just fails until end,
just spamming the output
parent 617df473
No related branches found
No related tags found
No related merge requests found
Pipeline #170306 passed
......@@ -47,7 +47,7 @@ fi
startdir="$PWD"
tmpdir=$(mktemp -d -t checkpkg-script.XXXXXX)
trap "rm -rf '$tmpdir'" INT EXIT
trap "rm -rf '$tmpdir'; exit" INT EXIT
cd "$tmpdir" || die "failed to create temp dir"
# storage for downloaded/copied apks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment