The addition here could be `${otp_header:+-H "$otp_header"}` so it would only substitute anything if otp_header is is non-empty. I'm not sure whether that quoting will work though, you should test that :)