You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2016/01/25 19:45:04 UTC

yetus git commit: YETUS-201. dsec file hanging around

Repository: yetus
Updated Branches:
  refs/heads/master 919519fb5 -> 1ff80e0b8


YETUS-201. dsec file hanging around

00:
  * remove dsec file when empty

Signed-off-by: Allen Wittenauer <aw...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/1ff80e0b
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/1ff80e0b
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/1ff80e0b

Branch: refs/heads/master
Commit: 1ff80e0b803053d28ef23d830620ca804c888b61
Parents: 919519f
Author: Marco Zuehlke <mz...@gmail.com>
Authored: Mon Jan 25 00:59:57 2016 +0100
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Mon Jan 25 10:44:53 2016 -0800

----------------------------------------------------------------------
 precommit/core.d/docker.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/1ff80e0b/precommit/core.d/docker.sh
----------------------------------------------------------------------
diff --git a/precommit/core.d/docker.sh b/precommit/core.d/docker.sh
index 2f75667..5ac8a0f 100755
--- a/precommit/core.d/docker.sh
+++ b/precommit/core.d/docker.sh
@@ -159,6 +159,7 @@ function docker_stop_exited_containers
 
   dockercmd ps -a | ${GREP} Exited > "${exitfn}"
   if [[ ! -s "${exitfn}" ]]; then
+    rm -f "${exitfn}"
     return
   fi