buildbot slave: don't fail on remove
This commit is contained in:
parent
194e22c517
commit
bd3b2a2bbd
@ -161,7 +161,7 @@ let
|
|||||||
ExecStartPre = pkgs.writeDash "buildbot-master-init" ''
|
ExecStartPre = pkgs.writeDash "buildbot-master-init" ''
|
||||||
set -efux
|
set -efux
|
||||||
#remove garbage from old versions
|
#remove garbage from old versions
|
||||||
rm -r ${workdir}
|
rm -rf ${workdir}
|
||||||
mkdir -p ${workdir}/info
|
mkdir -p ${workdir}/info
|
||||||
cp ${buildbot-slave-init} ${workdir}/buildbot.tac
|
cp ${buildbot-slave-init} ${workdir}/buildbot.tac
|
||||||
echo ${contact} > ${workdir}/info/admin
|
echo ${contact} > ${workdir}/info/admin
|
||||||
|
Loading…
Reference in New Issue
Block a user