Accepting
-c
is the right thing to do, probably the simplest solution in this case. See e.g. what tmux does: "This option is for compatibility with sh(1)
when tmux is used as a login shell".