Exit if both --force-tty and --no-tty are set

This commit is contained in:
Tasos Maschalidis
2024-02-11 13:54:10 +02:00
parent a62cb1de8f
commit 95c049609f

View File

@@ -54,6 +54,10 @@ fn-run() {
esac
done
if [[ "$DOKKU_DISABLE_TTY" == "true" ]] && [[ "$DOKKU_FORCE_TTY" == "true" ]]; then
dokku_log_fail "Cannot specify both --force-tty and --no-tty"
fi
verify_app_name "$APP"
local DOKKU_SCHEDULER=$(get_app_scheduler "$APP")