fix(poweroff): change shutdown command flag
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user