mirror of
https://github.com/Zerodya/hyprfreeze.git
synced 2024-11-09 17:08:49 +01:00
Fix typo
This commit is contained in:
parent
770582b946
commit
086017724d
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function toggleFreeze() {
|
||||||
# Suspend or resume processes
|
# Suspend or resume processes
|
||||||
if [[ "$(ps -o state= $PID)" == T ]]; then
|
if [[ "$(ps -o state= $PID)" == T ]]; then
|
||||||
debugPrint "Resuming processes..."
|
debugPrint "Resuming processes..."
|
||||||
kill -CONT $PIDS 2>/dev/null && echo "Resumed $(ps -p $PID -o comm= 2>/dev/null) (PID$PID)" || exit 1
|
kill -CONT $PIDS 2>/dev/null && echo "Resumed $(ps -p $PID -o comm= 2>/dev/null) (PID $PID)" || exit 1
|
||||||
else
|
else
|
||||||
debugPrint "Suspending processes..."
|
debugPrint "Suspending processes..."
|
||||||
kill -STOP $PIDS 2>/dev/null && echo "Suspended $(ps -p $PID -o comm= 2>/dev/null) (PID $PID)" || exit 1
|
kill -STOP $PIDS 2>/dev/null && echo "Suspended $(ps -p $PID -o comm= 2>/dev/null) (PID $PID)" || exit 1
|
||||||
|
|
Loading…
Reference in a new issue