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