system: break infite loop resolving rootfs type
authorDaniel Golle <daniel@makrotopia.org>
Wed, 21 Feb 2024 00:10:53 +0000 (00:10 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 24 Feb 2024 03:55:53 +0000 (03:55 +0000)
commit1901aba90b6841ec1a99a25224a92d2519c603fd
treea2780742530289843e4d8a115e3eab709ade7730
parent2f949727e49a65893b1ccb9539ed6421f219dfb9
system: break infite loop resolving rootfs type

When running procd outside of OpenWrt, e.g. for debugging or research
situations inside a container environment, an inifite loop can occur
when trying to determine the rootfs type. Make sure that doesn't
happen.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
system.c