Exit if both --force-tty and --no-tty are set
This commit is contained in:
1 parent
a62cb1de8f
commit
95c049609f
1 file changed
+4
@@ -54,6 +54,10 @@ fn-run() {
|
|||||||
esac
|
esac
|
||||||
done
|
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"
|
verify_app_name "$APP"
|
||||||
|
|
||||||
local DOKKU_SCHEDULER=$(get_app_scheduler "$APP")
|
local DOKKU_SCHEDULER=$(get_app_scheduler "$APP")
|
||||||
|
|||||||
Reference in new issue
Block a user