fix: typo

This commit is contained in:
Strix 2024-06-02 22:20:43 +02:00
parent 1816522a71
commit dd7516e6d7

2
bin/sc
View file

@ -36,7 +36,7 @@ for host in $SC_HOSTS; do
;; ;;
*) *)
if [ "$host" = "local" ]; then if [ "$host" = "local" ]; then
$SC_SRC/bin/sc-client $@ $SC_SRC/bin/sc-client $command $@
else else
ssh -t $host SC_SKIP_WELCOME_HEADER=1 /opt/sconnect/bin/sc-client check 2>/dev/null || fatal_log not installed ssh -t $host SC_SKIP_WELCOME_HEADER=1 /opt/sconnect/bin/sc-client check 2>/dev/null || fatal_log not installed
ssh -t $host /opt/sconnect/bin/sc-client $command $@ ssh -t $host /opt/sconnect/bin/sc-client $command $@