It's not wrong - you do what you can to stay nourished.
The only wrong approaches I can identify is beating yourself up about not preparing a decent meal for yourself and not eating at all.
Both me and my SO lost weight in the first months because we made the former mistake.