diff options
Diffstat (limited to 'tests/blogc-git-receiver/check_shell.sh')
-rwxr-xr-x | tests/blogc-git-receiver/check_shell.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/blogc-git-receiver/check_shell.sh b/tests/blogc-git-receiver/check_shell.sh index 0367f96..64f105e 100755 --- a/tests/blogc-git-receiver/check_shell.sh +++ b/tests/blogc-git-receiver/check_shell.sh @@ -9,7 +9,7 @@ TEMP="$(mktemp -d)" trap_func() { [[ -e "${TEMP}/output.txt" ]] && cat "${TEMP}/output.txt" - rm -rf "${TEMP}" + [[ -n "${TEMP}" ]] && rm -rf "${TEMP}" } trap trap_func EXIT |