From aa2c1d886312e72e524e734b6527a67b63b0292d Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Tue, 14 May 2024 19:32:21 +0200 Subject: [PATCH] fix: invalid syntax --- bin/winapps | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/winapps b/bin/winapps index 0500cff..573be81 100755 --- a/bin/winapps +++ b/bin/winapps @@ -48,13 +48,12 @@ if [ -z "${FREERDP_COMMAND}" ]; then then FREERDP_COMMAND="xfreerdp3" fi -else - if command -v $FREERDP_COMMAND &> /dev/null +elif command -v $FREERDP_COMMAND &> /dev/null +then dprint "Using custom freerdp command ${FREERDP_COMMAND}" - else - echo "You have supplied a custom FreeRDP command, but the command is not available." - exit - fi +else + echo "You have supplied a custom FreeRDP command, but the command is not available." + exit fi if [ -z "${RDP_IP}" ]; then