summaryrefslogtreecommitdiff
path: root/lib/load-configuration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/load-configuration')
-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