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
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