Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/load-configuration2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index 05ec7d0..b6756c1 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -20,7 +20,7 @@ if [ "$(hostname)" = 'buildmaster.archlinux32.org' ]; then
# - systemd MUST NOT hickup - e.g. exit code 0,
# - connecting slaves MUST get exit code 1 and
# - interactively run commands SHOULD get exit code 1, too
- if tty -s && [ -z "${SSH_ORIGINAL_COMMAND}" ]; then
+ if tty -s || [ -n "${SSH_ORIGINAL_COMMAND}" ]; then
exit 1
else
exit 0