Yeah .
Any outside food generally avoid if you have any gastro intestinal disease because outside food is not hygienic but as you have said that you have no option to eat anything so now you have eaten then don't think any side effect of it.
Next Steps
Don't take any outside food during treatment of any gastro intestinal disease.
Health Tips
You should take plenty of fluid as take water to hydrate your body in any GIT problem.