fix(poweroff): change shutdown command flag

This commit is contained in:
2025-02-16 18:38:48 +04:00
parent 36f7b6d24c
commit 42a7c0e726
2 changed files with 1 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ run_cmd() {
selected="$(confirm_exit)"
if [[ "$selected" == "$yes" ]]; then
if [[ $1 == '--shutdown' ]]; then
sudo shutdown -f now
sudo shutdown -P now
elif [[ $1 == '--reboot' ]]; then
sudo reboot
elif [[ $1 == '--suspend' ]]; then