summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/buildbot
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-01-05 15:46:13 +0100
committerlassulus <lassulus@lassul.us>2018-01-05 15:46:13 +0100
commitbd3b2a2bbd3c9b2e6dee2646a580f83b8438d03d (patch)
tree66eaf0516bc83cfbdcdc4491cf3b34d52b4d5b61 /krebs/3modules/buildbot
parent194e22c517ab22664aea2148421182c6c4ac43d6 (diff)
buildbot slave: don't fail on remove
Diffstat (limited to 'krebs/3modules/buildbot')
-rw-r--r--krebs/3modules/buildbot/slave.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/buildbot/slave.nix b/krebs/3modules/buildbot/slave.nix
index 0af553c5d..fba585448 100644
--- a/krebs/3modules/buildbot/slave.nix
+++ b/krebs/3modules/buildbot/slave.nix
@@ -161,7 +161,7 @@ let
ExecStartPre = pkgs.writeDash "buildbot-master-init" ''
set -efux
#remove garbage from old versions
- rm -r ${workdir}
+ rm -rf ${workdir}
mkdir -p ${workdir}/info
cp ${buildbot-slave-init} ${workdir}/buildbot.tac
echo ${contact} > ${workdir}/info/admin