davmac314 / dinit

Service monitoring / "init" system
Apache License 2.0
582 stars 45 forks source link

shutdown: Respect "SHUTDOWN_PREFIX" for reboot util check #333

Closed mobin-2008 closed 3 months ago

mobin-2008 commented 4 months ago

It was a bug that shutdown executable only checked "reboot" string to find out this should be a reboot or normal shutdown.

Regression: It's not, because it was broken from the beginning.

Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>