index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-11-22 10:08:09 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-22 10:08:09 +0100 |
commit | 700aa40bd4bf575613f5d3f54c67424daaea2436 (patch) | |
tree | 68d28cc556d8d5e51e651db1900bc53a37da345c /lib | |
parent | a956e728d214519bc1da5aa05b93c9d8e7f35cdc (diff) |
-rwxr-xr-x | lib/load-configuration | 2 |
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 |