davmac314 / dinit

Service monitoring / "init" system
Apache License 2.0
622 stars 49 forks source link

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

Closed mobin-2008 closed 6 months ago

mobin-2008 commented 6 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>