fix: invalid syntax

This commit is contained in:
Oskar Manhart 2024-05-14 19:32:21 +02:00
parent 1e2ee830a7
commit aa2c1d8863

View File

@ -48,13 +48,12 @@ if [ -z "${FREERDP_COMMAND}" ]; then
then then
FREERDP_COMMAND="xfreerdp3" FREERDP_COMMAND="xfreerdp3"
fi fi
else elif command -v $FREERDP_COMMAND &> /dev/null
if command -v $FREERDP_COMMAND &> /dev/null then
dprint "Using custom freerdp command ${FREERDP_COMMAND}" dprint "Using custom freerdp command ${FREERDP_COMMAND}"
else else
echo "You have supplied a custom FreeRDP command, but the command is not available." echo "You have supplied a custom FreeRDP command, but the command is not available."
exit exit
fi
fi fi
if [ -z "${RDP_IP}" ]; then if [ -z "${RDP_IP}" ]; then