summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-16 10:20:14 +0200
committerErich Eckner <git@eckner.net>2017-06-16 10:20:14 +0200
commitb61f18086363f3a5d4cad4733632f012027f0ccf (patch)
treee1c84188fc815952d3d8aabb225892355f3fdb74
parente3b9ed08b6be66ca83019cf87d62d907eb948705 (diff)
downloadbuilder-b61f18086363f3a5d4cad4733632f012027f0ccf.tar.xz
bin/slave-build-connect: chenge exit code to not be confused with "cannot lock"
-rwxr-xr-xbin/slave-build-connect2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/slave-build-connect b/bin/slave-build-connect
index 87c0e31..4ef2b2b 100755
--- a/bin/slave-build-connect
+++ b/bin/slave-build-connect
@@ -7,5 +7,5 @@ if [ "${SSH_ORIGINAL_COMMAND%% *}" = "get-assignment" ] || \
slave="$1" /bin/sh -c "${base_dir}/bin/${SSH_ORIGINAL_COMMAND}"
else
>&2 echo "Invalid command: '${SSH_ORIGINAL_COMMAND%% *}'"
- exit 1
+ exit 42
fi